forked from mirrors/nixpkgs
python.pkgs.buildPythonPackage: do not pass attributes that stdenv.mkDerivation does not use
This commit is contained in:
parent
985f0ce15d
commit
209ee2f20f
|
@ -54,11 +54,12 @@ if disabled
|
||||||
then throw "${name} not supported for interpreter ${python.executable}"
|
then throw "${name} not supported for interpreter ${python.executable}"
|
||||||
else
|
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;
|
name = namePrefix + name;
|
||||||
|
|
||||||
inherit pythonPath;
|
|
||||||
|
|
||||||
buildInputs = [ wrapPython ] ++ buildInputs ++ pythonPath
|
buildInputs = [ wrapPython ] ++ buildInputs ++ pythonPath
|
||||||
++ [ (ensureNewerSourcesHook { year = "1980"; }) ]
|
++ [ (ensureNewerSourcesHook { year = "1980"; }) ]
|
||||||
|
|
Loading…
Reference in a new issue