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
commit1bb989ca70ee127e32dda0c24017cddd35580ce0
authorAndreas Rammhold <andreas@rammhold.de>
dateSun 21 Apr 2019, 12:07 (8 years ago)
parent2e2f7cb
pkgs/build-support/rust/default-crate-overrides.nix+2−1
@@ -16,7 +16,8 @@ in
1616 };
1717
1818 cargo-vendor = attrs: {
19− buildInputs = [ openssl zlib curl ];
19+ buildInputs = [ openssl zlib curl ]
20+ ++ stdenv.lib.optionals stdenv.isDarwin [ Security ];
2021 };
2122
2223 libz-sys = attrs: {