exa: fix build on darwin
This commit is contained in:
parent
8d3aa2f2b9
commit
1aae247be1
@ -1,4 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitHub, rustPlatform, cmake, perl, pkgconfig, zlib }:
|
{ stdenv, fetchFromGitHub, rustPlatform, cmake, perl, pkgconfig, zlib
|
||||||
|
, darwin, libiconv
|
||||||
|
}:
|
||||||
|
|
||||||
with rustPlatform;
|
with rustPlatform;
|
||||||
|
|
||||||
@ -16,7 +18,10 @@ buildRustPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkgconfig perl ];
|
nativeBuildInputs = [ cmake pkgconfig perl ];
|
||||||
buildInputs = [ zlib ];
|
buildInputs = [ zlib ]
|
||||||
|
++ stdenv.lib.optionals stdenv.isDarwin [
|
||||||
|
libiconv darwin.apple_sdk.frameworks.Security ]
|
||||||
|
;
|
||||||
|
|
||||||
# Some tests fail, but Travis ensures a proper build
|
# Some tests fail, but Travis ensures a proper build
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user