diff --git a/pkgs/tools/package-management/cargo-edit/default.nix b/pkgs/tools/package-management/cargo-edit/default.nix index 02bb38a1f15c..ef286ae64494 100644 --- a/pkgs/tools/package-management/cargo-edit/default.nix +++ b/pkgs/tools/package-management/cargo-edit/default.nix @@ -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 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 066ae06f22ad..8e0ccc957020 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };