pythonPackages: move __attrsFailEvaluation to allow deeper inspection

This commit is contained in:
Philip Taron
2024-07-04 14:49:03 -07:00
parent b1afdbff75
commit 0213840cd8
2 changed files with 17 additions and 14 deletions
@@ -99,6 +99,8 @@ in {
inherit toPythonModule toPythonApplication;
python = toPythonModule python;
# Dont take pythonPackages from "global" pkgs scope to avoid mixing python versions
pythonPackages = self;
# Don't take pythonPackages from "global" pkgs scope to avoid mixing python versions.
# Prevent `pkgs/top-level/release-attrpaths-superset.nix` from recursing more than one level here.
pythonPackages = self // { __attrsFailEvaluation = true; };
}