diff --git a/pkgs/tools/nix/statix/default.nix b/pkgs/tools/nix/statix/default.nix index 4de3aa35677e..fd219935aeeb 100644 --- a/pkgs/tools/nix/statix/default.nix +++ b/pkgs/tools/nix/statix/default.nix @@ -1,4 +1,4 @@ -{ lib, rustPlatform, fetchFromGitHub, withJson ? true }: +{ lib, rustPlatform, fetchFromGitHub, withJson ? true, stdenv }: rustPlatform.buildRustPackage rec { pname = "statix"; @@ -17,6 +17,9 @@ rustPlatform.buildRustPackage rec { buildFeatures = lib.optional withJson "json"; + # tests are failing on darwin + doCheck = !stdenv.isDarwin; + meta = with lib; { description = "Lints and suggestions for the nix programming language"; homepage = "https://github.com/nerdypepper/statix";