cargo-edit: pass the Security dependency properly

This commit is contained in:
Daniël de Kok 2020-10-13 08:51:35 +02:00
parent 80ce132382
commit f91426713b
2 changed files with 5 additions and 3 deletions

@ -1,12 +1,12 @@
{ stdenv
, lib
, darwin
, rustPlatform
, fetchFromGitHub
, pkg-config
, xcbuild
, openssl
, libiconv
, Security
, zlib
}:
@ -33,7 +33,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ openssl zlib ] ++ lib.optionals stdenv.isDarwin [
libiconv
darwin.apple_sdk.frameworks.Security
Security
];
doCheck = false; # integration tests depend on changing cargo config

@ -9702,7 +9702,9 @@ in
};
cargo-deps = callPackage ../tools/package-management/cargo-deps { };
cargo-download = callPackage ../tools/package-management/cargo-download { };
cargo-edit = callPackage ../tools/package-management/cargo-edit { };
cargo-edit = callPackage ../tools/package-management/cargo-edit {
inherit (darwin.apple_sdk.frameworks) Security;
};
cargo-kcov = callPackage ../tools/package-management/cargo-kcov { };
cargo-graph = callPackage ../tools/package-management/cargo-graph { };
cargo-license = callPackage ../tools/package-management/cargo-license { };