From af9863fd4475860b3d1b87bd0efe290ab3b3377b Mon Sep 17 00:00:00 2001 From: figsoda Date: Mon, 6 Dec 2021 14:02:23 -0500 Subject: [PATCH] statix: fix darwin build --- pkgs/tools/nix/statix/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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";