summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvan Mosberger <silvan.mosberger@tweag.io>2024-06-20 18:57:40 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-06-22 08:56:51 +0000
commit9566a74c2b31dd64c878ddc973676badf2fe5556 (patch)
tree08f526ac50dce797d2980931835a1669819ede21
parentlib.genericClosure: inherit from lib.trivial (diff)
downloadnixpkgs-9566a74c2b31dd64c878ddc973676badf2fe5556.tar.gz
lib.readFile: inherit from lib.trivial
(cherry picked from commit d3c09b9327427dc4bec632ca60924e5dc4e05607)
-rw-r--r--lib/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/default.nix b/lib/default.nix
index dc85dd57e024..20a7cf93b370 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -66,7 +66,7 @@ let
inherit (builtins) addErrorContext
isPath
- readFile replaceStrings
+ replaceStrings
trace;
inherit (self.trivial) id const pipe concat or and xor bitAnd bitOr bitXor
bitNot boolToString mergeAttrs flip mapNullable inNixShell isFloat min max
@@ -75,7 +75,7 @@ let
mod compare splitByAndCompare seq deepSeq lessThan add sub
functionArgs setFunctionArgs isFunction toFunction mirrorFunctionArgs
toHexString toBaseDigits inPureEvalMode isBool isInt pathExists
- genericClosure;
+ genericClosure readFile;
inherit (self.fixedPoints) fix fix' converge extends composeExtensions
composeManyExtensions makeExtensible makeExtensibleWithCustomName;
inherit (self.attrsets) attrByPath hasAttrByPath setAttrByPath