diff options
author | figsoda <figsoda@pm.me> | 2021-12-06 14:02:23 -0500 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2021-12-06 14:03:29 -0500 |
commit | af9863fd4475860b3d1b87bd0efe290ab3b3377b (patch) | |
tree | c5f2e69e3a8786734d918236e1006aebe1907a8f /pkgs/tools | |
parent | 75ef7d62b0ca2253d72f4dccefe71660c30ba6b4 (diff) | |
download | nixpkgs-af9863fd4475860b3d1b87bd0efe290ab3b3377b.tar nixpkgs-af9863fd4475860b3d1b87bd0efe290ab3b3377b.tar.gz nixpkgs-af9863fd4475860b3d1b87bd0efe290ab3b3377b.tar.bz2 nixpkgs-af9863fd4475860b3d1b87bd0efe290ab3b3377b.tar.lz nixpkgs-af9863fd4475860b3d1b87bd0efe290ab3b3377b.tar.xz nixpkgs-af9863fd4475860b3d1b87bd0efe290ab3b3377b.tar.zst nixpkgs-af9863fd4475860b3d1b87bd0efe290ab3b3377b.zip |
statix: fix darwin build
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/nix/statix/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/tools/nix/statix/default.nix b/pkgs/tools/nix/statix/default.nix index 4de3aa35677..fd219935aee 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"; |