cargo-vendor: fix build on Darwin
This is supposedly fixing the build of the cargo crate on Drawin [1]. [1] https://github.com/NixOS/nixpkgs/pull/57017#pullrequestreview-228868016
This commit is contained in:
parent
2e2f7cba90
commit
1bb989ca70
@ -16,7 +16,8 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
cargo-vendor = attrs: {
|
cargo-vendor = attrs: {
|
||||||
buildInputs = [ openssl zlib curl ];
|
buildInputs = [ openssl zlib curl ]
|
||||||
|
++ stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
};
|
};
|
||||||
|
|
||||||
libz-sys = attrs: {
|
libz-sys = attrs: {
|
||||||
|
Loading…
Reference in New Issue
Block a user