3
0
Fork 0
forked from mirrors/nixpkgs

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

This commit is contained in:
Frederik Rietdijk 2017-11-11 16:21:02 +01:00
parent 985f0ce15d
commit 209ee2f20f

View file

@ -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"; }) ]