summaryrefslogtreecommitdiff
path: root/lib/default.nix
diff options
context:
space:
mode:
authorSilvan Mosberger <github@infinisil.com>2024-12-08 10:24:42 +0100
committerGitHub <noreply@github.com>2024-12-08 10:24:42 +0100
commit944f47455eefe2100e9c76a86395a0b242bcbdea (patch)
treef1338a5ad21bf834c19eb5f1c46f95851fe4da5d /lib/default.nix
parentquarkus: 3.15.1 -> 3.17.3 (#363026) (diff)
parentlib: add defaultTo (diff)
downloadnixpkgs-944f47455eefe2100e9c76a86395a0b242bcbdea.tar.gz
lib: add defaultTo (#357681)
Diffstat (limited to 'lib/default.nix')
-rw-r--r--lib/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/default.nix b/lib/default.nix
index 83ce7a6d7ea9..4345c48f3bc4 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -71,7 +71,7 @@ let
# these are the only ones that are currently not
inherit (builtins) addErrorContext isPath trace typeOf unsafeGetAttrPos;
inherit (self.trivial) id const pipe concat or and xor bitAnd bitOr bitXor
- bitNot boolToString mergeAttrs flip mapNullable inNixShell isFloat min max
+ bitNot boolToString mergeAttrs flip defaultTo mapNullable inNixShell isFloat min max
importJSON importTOML warn warnIf warnIfNot throwIf throwIfNot checkListOfEnum
info showWarnings nixpkgsVersion version isInOldestRelease oldestSupportedReleaseIsAtLeast
mod compare splitByAndCompare seq deepSeq lessThan add sub