From 5d892a8ea51442a8403d043335daa53c39527f42 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Thu, 20 Jun 2024 19:01:19 +0200 Subject: lib: Add a TODO for builtins not available in sub-libraries --- lib/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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 -- cgit 1.4.1