about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorSilvan Mosberger <silvan.mosberger@tweag.io>2024-06-20 18:57:40 +0200
committerSilvan Mosberger <silvan.mosberger@tweag.io>2024-06-20 22:48:54 +0200
commitd3c09b9327427dc4bec632ca60924e5dc4e05607 (patch)
tree947323ae411d688d1c6715aba4208089226983bd /lib
parente3b0f46af9d0c57661e5a85e8482ecbdee1d6ed8 (diff)
lib.readFile: inherit from lib.trivial
Diffstat (limited to 'lib')
-rw-r--r--lib/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/default.nix b/lib/default.nix
index dc85dd57e024a..20a7cf93b370b 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