forked from mirrors/nixpkgs
cargo: 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
a4902a33bf
commit
2e2f7cba90
|
@ -12,7 +12,7 @@ in
|
|||
|
||||
cargo = attrs: {
|
||||
buildInputs = [ openssl zlib curl ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ CoreFoundation libiconv ];
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ CoreFoundation Security libiconv ];
|
||||
};
|
||||
|
||||
cargo-vendor = attrs: {
|
||||
|
|
Loading…
Reference in a new issue