diff options
author | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-06-20 19:01:19 +0200 |
---|---|---|
committer | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-06-20 22:48:55 +0200 |
commit | 5d892a8ea51442a8403d043335daa53c39527f42 (patch) | |
tree | 787df9009bc4ee0a62e81c00ecb52afb40957a5e /lib | |
parent | 1e4f04d4d62701f5f8dfd37f3c535e8d2b2fbb97 (diff) |
lib: Add a TODO for builtins not available in sub-libraries
Diffstat (limited to 'lib')
-rw-r--r-- | lib/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/default.nix b/lib/default.nix index 5d98a58836f8a..9c6f886c9ee46 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 |