about summary refs log tree commit diff
path: root/lib/default.nix
diff options
context:
space:
mode:
authoredef <edef@edef.eu>2024-04-04 14:05:18 +0000
committeredef <edef@edef.eu>2024-04-04 19:46:58 +0000
commit725bb4e48c6491598f53b83c2dcd1a307115c6cc (patch)
tree5e801c1cd8677cefd283e63ec3d0fc5484df98d4 /lib/default.nix
parentd03a4482228d4d6dbd2d4b425b6dfcd49ebe765f (diff)
lib: add xor
This gets clumsily reimplemented in various places, to no useful end.
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 f6cb7932507a9..b442ddf5fa0f0 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -69,7 +69,7 @@ let
       hasAttr head isAttrs isBool isInt isList isPath isString length
       lessThan listToAttrs pathExists readFile replaceStrings seq
       stringLength sub substring tail trace;
-    inherit (self.trivial) id const pipe concat or and bitAnd bitOr bitXor
+    inherit (self.trivial) id const pipe concat or and xor bitAnd bitOr bitXor
       bitNot boolToString mergeAttrs flip mapNullable inNixShell isFloat min max
       importJSON importTOML warn warnIf warnIfNot throwIf throwIfNot checkListOfEnum
       info showWarnings nixpkgsVersion version isInOldestRelease