mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
Merge pull request #269862 from zopieux/master
python/hooks: use python.pythonVersion in catchConflicts to support other Pythons
This commit is contained in:
commit
71e21a7234
@ -107,7 +107,7 @@ in {
|
||||
makePythonHook {
|
||||
name = "python-catch-conflicts-hook";
|
||||
substitutions = let
|
||||
useLegacyHook = lib.versionOlder python.version "3.10";
|
||||
useLegacyHook = lib.versionOlder python.pythonVersion "3.10";
|
||||
in {
|
||||
inherit pythonInterpreter pythonSitePackages;
|
||||
catchConflicts = if useLegacyHook then
|
||||
|
Loading…
Reference in New Issue
Block a user