diff --git a/pkgs/development/tools/rust/maturin/default.nix b/pkgs/development/tools/rust/maturin/default.nix index 38217e4b4e15..b9c2e08ba142 100644 --- a/pkgs/development/tools/rust/maturin/default.nix +++ b/pkgs/development/tools/rust/maturin/default.nix @@ -4,8 +4,6 @@ , rustPlatform , pkg-config , dbus -, gmp -, openssl , Security }: @@ -24,9 +22,8 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ pkg-config ]; - buildInputs = [ gmp openssl ] - ++ lib.optional stdenv.isDarwin Security - ++ lib.optional stdenv.isLinux dbus; + buildInputs = lib.optional stdenv.isLinux dbus + ++ lib.optional stdenv.isDarwin Security; # Requires network access, fails in sandbox. doCheck = false;