diff options
| author | Robert Hensing <robert@roberthensing.nl> | 2024-10-08 11:14:24 +0200 |
|---|---|---|
| committer | Robert Hensing <robert@roberthensing.nl> | 2024-10-08 11:14:24 +0200 |
| commit | 729225e355c02113371ce500a8d55fcaede2e900 (patch) | |
| tree | 1a762a288fa7e21e5bfc4eec2ff6332471c40b55 /lib/strings.nix | |
| parent | lib.oldestSupportedReleaseIsAtLeast: rename from bad name and deprecate after... (diff) | |
| download | nixpkgs-729225e355c02113371ce500a8d55fcaede2e900.tar.gz | |
treewide: lib.isInOldestRelease -> lib.oldestSupportedReleaseIsAtLeast
Diffstat (limited to 'lib/strings.nix')
| -rw-r--r-- | lib/strings.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strings.nix b/lib/strings.nix index ffde541c6958..d9a2d786ed28 100644 --- a/lib/strings.nix +++ b/lib/strings.nix @@ -2272,7 +2272,7 @@ rec { isCoercibleToString :: a -> bool ``` */ - isCoercibleToString = lib.warnIf (lib.isInOldestRelease 2305) + isCoercibleToString = lib.warnIf (lib.oldestSupportedReleaseIsAtLeast 2305) "lib.strings.isCoercibleToString is deprecated in favor of either isStringLike or isConvertibleWithToString. Only use the latter if it needs to return true for null, numbers, booleans and list of similarly coercibles." isConvertibleWithToString; |
