3
0
Fork 0
forked from mirrors/nixpkgs

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

lib/trivial: actually expose warnIfNot and throwIf
This commit is contained in:
Robert Hensing 2022-03-28 14:07:53 +02:00 committed by GitHub
commit 9dd71d8c50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,7 +66,7 @@ let
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