Unverified Commit 9dd71d8c authored by Robert Hensing's avatar Robert Hensing Committed by GitHub
Browse files

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

lib/trivial: actually expose warnIfNot and throwIf
parents de0f59ea 9f5796be
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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