forked from mirrors/nixpkgs
statix: fix darwin build
This commit is contained in:
parent
75ef7d62b0
commit
af9863fd44
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue