Merge pull request #165956 from ncfavier/lib-warn-throw

lib/trivial: actually expose warnIfNot and throwIf

Changed files
+1 -1
lib
+1 -1
lib/default.nix
···
stringLength sub substring tail trace;
inherit (self.trivial) id const pipe concat or and bitAnd bitOr bitXor
bitNot boolToString mergeAttrs flip mapNullable inNixShell isFloat min max
-
importJSON importTOML warn warnIf throwIfNot checkListOfEnum
+
importJSON importTOML warn warnIf warnIfNot throwIf throwIfNot checkListOfEnum
info showWarnings nixpkgsVersion version isInOldestRelease
mod compare splitByAndCompare
functionArgs setFunctionArgs isFunction toFunction