From 4241178a620a5a55d32dcfb90a39a24816b6a5ac Mon Sep 17 00:00:00 2001 From: Ross Smyth <18294397+RossSmyth@users.noreply.github.com> Date: Tue, 2 Sep 2025 13:49:52 -0400 Subject: [PATCH] python: Allow users to set nativeInstallCheckInputs and installCheckInputs to make consistent with the rest of nixpkgs --- pkgs/development/interpreters/python/mk-python-derivation.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/python/mk-python-derivation.nix b/pkgs/development/interpreters/python/mk-python-derivation.nix index e634df7a1e96..eb8e76101c49 100644 --- a/pkgs/development/interpreters/python/mk-python-derivation.nix +++ b/pkgs/development/interpreters/python/mk-python-derivation.nix @@ -377,8 +377,8 @@ let # Python packages don't have a checkPhase, only an installCheckPhase doCheck = false; doInstallCheck = attrs.doCheck or true; - nativeInstallCheckInputs = nativeCheckInputs; - installCheckInputs = checkInputs; + nativeInstallCheckInputs = nativeCheckInputs ++ attrs.nativeInstallCheckInputs or [ ]; + installCheckInputs = checkInputs ++ attrs.installCheckInputs or [ ]; inherit dontWrapPythonPrograms;