about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2017-11-11 16:21:02 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2017-11-23 15:11:03 +0100
commit209ee2f20f10bd9cd895b7e2df5161c163233365 (patch)
tree21f8e4f7393af809e73c611f30548557dd91bcec /pkgs
parent985f0ce15dc1e19a200959450dff8add32bdeac9 (diff)
downloadnixlib-209ee2f20f10bd9cd895b7e2df5161c163233365.tar
nixlib-209ee2f20f10bd9cd895b7e2df5161c163233365.tar.gz
nixlib-209ee2f20f10bd9cd895b7e2df5161c163233365.tar.bz2
nixlib-209ee2f20f10bd9cd895b7e2df5161c163233365.tar.lz
nixlib-209ee2f20f10bd9cd895b7e2df5161c163233365.tar.xz
nixlib-209ee2f20f10bd9cd895b7e2df5161c163233365.tar.zst
nixlib-209ee2f20f10bd9cd895b7e2df5161c163233365.zip
python.pkgs.buildPythonPackage: do not pass attributes that stdenv.mkDerivation does not use
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/interpreters/python/mk-python-derivation.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/interpreters/python/mk-python-derivation.nix b/pkgs/development/interpreters/python/mk-python-derivation.nix
index 18d59d2189fa..b7327706d246 100644
--- a/pkgs/development/interpreters/python/mk-python-derivation.nix
+++ b/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"; }) ]