python: don't pass disabled to derivation

This commit is contained in:
Domen Kožar 2015-10-30 11:31:09 +01:00
parent df6a869ea7
commit 0509252e28

View File

@ -59,7 +59,7 @@ if disabled
then throw "${name} not supported for interpreter ${python.executable}"
else
python.stdenv.mkDerivation (attrs // {
python.stdenv.mkDerivation (builtins.removeAttrs attrs ["disabled"] // {
inherit doCheck;
name = namePrefix + name;