python.pkgs.buildPythonPackage: do not pass attributes that stdenv.mkDerivation does not use

wip/yesman
Frederik Rietdijk 7 years ago
parent 985f0ce15d
commit 209ee2f20f
  1. 5
      pkgs/development/interpreters/python/mk-python-derivation.nix

@ -54,11 +54,12 @@ if disabled
then throw "${name} not supported for interpreter ${python.executable}"
else
python.stdenv.mkDerivation (builtins.removeAttrs attrs ["disabled" "checkInputs" "pythonModule"] // {
python.stdenv.mkDerivation (builtins.removeAttrs attrs [
"disabled" "checkInputs" "doCheck" "doInstallCheck" "dontWrapPythonPrograms" "catchConflicts"
] // {
name = namePrefix + name;
inherit pythonPath;
buildInputs = [ wrapPython ] ++ buildInputs ++ pythonPath
++ [ (ensureNewerSourcesHook { year = "1980"; }) ]

Loading…
Cancel
Save