Merge pull request #149108 from figsoda/statix-fix-darwin
statix: fix darwin build
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user