diff --git a/pkgs/development/tools/rust/cargo-msrv/default.nix b/pkgs/by-name/ca/cargo-msrv/package.nix similarity index 88% rename from pkgs/development/tools/rust/cargo-msrv/default.nix rename to pkgs/by-name/ca/cargo-msrv/package.nix index 4a1ff0908d59..4ce70db69e9c 100644 --- a/pkgs/development/tools/rust/cargo-msrv/default.nix +++ b/pkgs/by-name/ca/cargo-msrv/package.nix @@ -6,8 +6,6 @@ rustup, openssl, stdenv, - libiconv, - Security, makeWrapper, gitUpdater, }: @@ -35,14 +33,7 @@ rustPlatform.buildRustPackage rec { # Integration tests fail doCheck = false; - buildInputs = - if stdenv.hostPlatform.isDarwin then - [ - libiconv - Security - ] - else - [ openssl ]; + buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ openssl ]; nativeBuildInputs = [ pkg-config diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 679e0a50c3a8..c8f55bed9b85 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6820,9 +6820,6 @@ with pkgs; zig = buildPackages.zig_0_12; inherit (darwin.apple_sdk.frameworks) CoreServices Security; }; - cargo-msrv = callPackage ../development/tools/rust/cargo-msrv { - inherit (darwin.apple_sdk.frameworks) Security; - }; cargo-ndk = callPackage ../development/tools/rust/cargo-ndk { inherit (darwin.apple_sdk.frameworks) CoreGraphics Foundation; };