From 8a6941dbef24b2172e52f291045c22e175e7a9d7 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Thu, 20 Jun 2024 18:37:38 +0200 Subject: lib.sub: inherit from lib.trivial --- lib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/default.nix') diff --git a/lib/default.nix b/lib/default.nix index c172f24c36e6..a322f9cd1434 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -68,12 +68,12 @@ let deepSeq elem elemAt genericClosure getAttr hasAttr isAttrs isBool isInt isList isPath isString pathExists readFile replaceStrings - sub trace; + trace; 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 - mod compare splitByAndCompare seq lessThan add + mod compare splitByAndCompare seq lessThan add sub functionArgs setFunctionArgs isFunction toFunction mirrorFunctionArgs toHexString toBaseDigits inPureEvalMode; inherit (self.fixedPoints) fix fix' converge extends composeExtensions -- cgit v1.2.3