docs(tvix/eval): builtins.md: mark impure

I believe that the currentTime, findFile, hashFile, pathExists,
readDir, path (unless ?sha256), and readFile builtins are impure.
This commit marks them as such in docs/builtins.md.

Change-Id: Ib1b59fe643dde73cb2b00050b4ef9d3401ad22eb
Signed-off-by: Adam Joseph <adam@westernsemico.com>
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7139
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
Adam Joseph 2022-10-30 13:35:31 -07:00
parent 313a24e4de
commit cc3060ed7c

View file

@ -31,7 +31,7 @@ See also https://nixos.org/manual/nix/stable/expressions/builtins.html
| concatMap | false | | |
| concatStringsSep | false | | |
| currentSystem | false | | |
| currentTime | false | | |
| currentTime | false | | false |
| deepSeq | false | | |
| derivation | true | | |
| derivationStrict | true | | |
@ -46,7 +46,7 @@ See also https://nixos.org/manual/nix/stable/expressions/builtins.html
| fetchurl | false | | |
| filter | false | | |
| filterSource | false | | |
| findFile | false | | |
| findFile | false | | false |
| foldl' | false | | |
| fromJSON | false | | |
| fromTOML | true | | |
@ -58,7 +58,7 @@ See also https://nixos.org/manual/nix/stable/expressions/builtins.html
| getEnv | false | | false |
| hasAttr | false | | |
| hasContext | false | | |
| hashFile | false | | |
| hashFile | false | | false |
| hashString | false | | |
| head | false | | |
| import | true | | |
@ -85,11 +85,11 @@ See also https://nixos.org/manual/nix/stable/expressions/builtins.html
| null | true | | |
| parseDrvName | false | | |
| partition | false | | |
| path | false | | |
| pathExists | false | | |
| path | false | | sometimes |
| pathExists | false | | false |
| placeholder | true | | |
| readDir | false | | |
| readFile | false | | |
| readDir | false | | false |
| readFile | false | | false |
| removeAttrs | true | | |
| replaceStrings | false | | |
| scopedImport | true | | |