From fa82e813f10165305b4a2387e6e54080c9e5c486 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Thu, 20 Jun 2024 18:52:46 +0200 Subject: [PATCH] lib.isInt: inherit from lib.trivial --- lib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/default.nix b/lib/default.nix index 19813f568c99..1da52266dce8 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -66,7 +66,7 @@ let inherit (builtins) addErrorContext genericClosure getAttr - isInt isList isPath isString + 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 isBool; + toHexString toBaseDigits inPureEvalMode isBool isInt; inherit (self.fixedPoints) fix fix' converge extends composeExtensions composeManyExtensions makeExtensible makeExtensibleWithCustomName; inherit (self.attrsets) attrByPath hasAttrByPath setAttrByPath