From 6858134449b7f937cc24be0582857ba5a7d5e2ec Mon Sep 17 00:00:00 2001 From: Michael Jenny Date: Sun, 15 Dec 2024 21:43:55 +0100 Subject: [PATCH] Remove unnecessary build inputs. --- pkgs/by-name/ma/maturin/package.nix | 4 +--- pkgs/development/python-modules/rpds-py/default.nix | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/pkgs/by-name/ma/maturin/package.nix b/pkgs/by-name/ma/maturin/package.nix index 4d1cb03a63e43..4575400932fa8 100644 --- a/pkgs/by-name/ma/maturin/package.nix +++ b/pkgs/by-name/ma/maturin/package.nix @@ -24,9 +24,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-yLKt/Xml7ig6QG3T5Qn39tW7U5NIN1hSOaLiSRMiy5I="; - buildInputs = - [ python3 ] - ++ lib.optionals stdenv.hostPlatform.isDarwin [ + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Security libiconv ]; diff --git a/pkgs/development/python-modules/rpds-py/default.nix b/pkgs/development/python-modules/rpds-py/default.nix index ae515b45c63a3..3b67477598679 100644 --- a/pkgs/development/python-modules/rpds-py/default.nix +++ b/pkgs/development/python-modules/rpds-py/default.nix @@ -9,7 +9,6 @@ rustc, rustPlatform, libiconv, - python3, }: buildPythonPackage rec { @@ -36,7 +35,6 @@ buildPythonPackage rec { rustPlatform.maturinBuildHook cargo rustc - python3 ]; buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];