diff --git a/pkgs/development/python-modules/generic/default.nix b/pkgs/development/python-modules/generic/default.nix index 378f047939f2..45073ba2fa6c 100644 --- a/pkgs/development/python-modules/generic/default.nix +++ b/pkgs/development/python-modules/generic/default.nix @@ -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;