diff --git a/lib/default.nix b/lib/default.nix index 5d98a58836f8..9c6f886c9ee4 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -64,9 +64,9 @@ let # linux kernel configuration kernel = callLibs ./kernel.nix; - inherit (builtins) addErrorContext - isPath - trace; + # TODO: For consistency, all builtins should also be available from a sub-library; + # these are the only ones that are currently not + inherit (builtins) addErrorContext isPath 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