summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvan Mosberger <silvan.mosberger@tweag.io>2024-06-20 18:56:20 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-06-22 08:56:51 +0000
commit7aa24848d554554d7e79ff51d2f50afb8ae3e3d8 (patch)
tree513553d6285b7ed47c03d16946ca3ae8d3c3d80d
parentlib.getAttr: inherit from lib.attrsets (diff)
downloadnixpkgs-7aa24848d554554d7e79ff51d2f50afb8ae3e3d8.tar.gz
lib.pathExists: inherit from lib.trivial
(cherry picked from commit e3faf23ba61f20a9e8491191c5fd6f780d6cf9ce)
-rw-r--r--lib/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/default.nix b/lib/default.nix
index f003d7110c93..2136e831563a 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -67,7 +67,7 @@ let
inherit (builtins) addErrorContext
genericClosure
isPath
- pathExists readFile replaceStrings
+ readFile 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
info showWarnings nixpkgsVersion version isInOldestRelease
mod compare splitByAndCompare seq deepSeq lessThan add sub
functionArgs setFunctionArgs isFunction toFunction mirrorFunctionArgs
- toHexString toBaseDigits inPureEvalMode isBool isInt;
+ toHexString toBaseDigits inPureEvalMode isBool isInt pathExists;
inherit (self.fixedPoints) fix fix' converge extends composeExtensions
composeManyExtensions makeExtensible makeExtensibleWithCustomName;
inherit (self.attrsets) attrByPath hasAttrByPath setAttrByPath