From ecce24c6a3fa15e6d350da3c83cf3da4a58495ce Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Thu, 20 Jun 2024 18:52:16 +0200 Subject: [PATCH] lib.isBool: inherit from lib.trivial (cherry picked from commit 5313a054d37732fc86b1e588a1316ab28e04fcd1) --- lib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/default.nix b/lib/default.nix index 952474061bf3..19813f568c99 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -66,7 +66,7 @@ let inherit (builtins) addErrorContext genericClosure getAttr - isBool isInt isList isPath isString + isInt isList isPath isString pathExists readFile replaceStrings trace; inherit (self.trivial) id const pipe concat or and xor bitAnd bitOr bitXor @@ -75,7 +75,7 @@ let info showWarnings nixpkgsVersion version isInOldestRelease mod compare splitByAndCompare seq deepSeq lessThan add sub functionArgs setFunctionArgs isFunction toFunction mirrorFunctionArgs - toHexString toBaseDigits inPureEvalMode; + toHexString toBaseDigits inPureEvalMode isBool; inherit (self.fixedPoints) fix fix' converge extends composeExtensions composeManyExtensions makeExtensible makeExtensibleWithCustomName; inherit (self.attrsets) attrByPath hasAttrByPath setAttrByPath