Nix path builtins
isPath e
-true
ife
is a path, otherwisefalse
path args
- Nix path functionᛦpathExists path
-true
ifpath
exists at evaluation time, otherwisefalse
placeholder output
- return a placeholder string foroutput
that will be substituted with the actual output path at build timereadDir path
- return the contents of the directory atpath
as a set with file names as keys and Nix file typesᛦ as valuesreadFile path
- contents ofpath
as a string