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
commit2e2f7cba901bbd1a6bfd0262e9b14f9ab52ff6e3
authorAndreas Rammhold <andreas@rammhold.de>
dateSun 21 Apr 2019, 12:05 (8 years ago)
parenta4902a3
pkgs/build-support/rust/default-crate-overrides.nix+1−1
@@ -12,7 +12,7 @@ in
1212
1313 cargo = attrs: {
1414 buildInputs = [ openssl zlib curl ]
15− ++ stdenv.lib.optionals stdenv.isDarwin [ CoreFoundation libiconv ];
15+ ++ stdenv.lib.optionals stdenv.isDarwin [ CoreFoundation Security libiconv ];
1616 };
1717
1818 cargo-vendor = attrs: {