statix: fix darwin build

This commit is contained in:
figsoda 2021-12-06 14:02:23 -05:00
parent 75ef7d62b0
commit af9863fd44

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";