mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 20:39:04 +02: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 a new issue