Merge pull request #149108 from figsoda/statix-fix-darwin

statix: fix darwin build
This commit is contained in:
figsoda
2021-12-07 12:18:06 -05:00
committed by GitHub
+4 -1
View File
@@ -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";