treewide: lib.isInOldestRelease -> lib.oldestSupportedReleaseIsAtLeast

This commit is contained in:
Robert Hensing
2024-10-08 11:14:24 +02:00
parent c2b411e674
commit 729225e355
8 changed files with 15 additions and 15 deletions
@@ -93,7 +93,7 @@ in rec {
inherit hasDistutilsCxxPatch;
# Remove after 24.11 is released.
pythonForBuild =
lib.warnIf (lib.isInOldestRelease 2311) "`pythonForBuild` (from `python*`) has been renamed to `pythonOnBuildForHost`"
lib.warnIf (lib.oldestSupportedReleaseIsAtLeast 2311) "`pythonForBuild` (from `python*`) has been renamed to `pythonOnBuildForHost`"
pythonOnBuildForHost_overridden;
pythonOnBuildForHost = pythonOnBuildForHost_overridden;