python3Packages.buildPythonPackage: Don't copy input list when checking inputs (#519252)

This commit is contained in:
Martin Weinelt
2026-06-02 19:51:26 +00:00
committed by GitHub
@@ -48,6 +48,8 @@ let
optionalString
removePrefix
stringLength
all
seq
;
leftPadName =
@@ -263,10 +265,10 @@ lib.extendMkDerivation {
checkDrv =
attrName: drv:
if (isPythonModule drv) && (isMismatchedPython drv) then throwMismatch attrName drv else drv;
if isPythonModule drv && isMismatchedPython drv then throwMismatch attrName drv else true;
in
attrName: map (checkDrv attrName);
attrName: inputs: seq (all (checkDrv attrName) inputs) inputs;
isBootstrapInstallPackage = isBootstrapInstallPackage' (finalAttrs.pname or null);