3
0
Fork 0
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:
Andreas Rammhold 2019-04-21 12:05:45 +02:00
parent a4902a33bf
commit 2e2f7cba90

View file

@ -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: {