lix/tests/functional/lang/eval-okay-builtins.nix
piegames 0a8888d1c7 treewide: Stop using ancient let syntax
Shows for how long these tests have not been touched by anyone …

Change-Id: I3d0c1209a86283ddb012db4e7d45073264fdd0eb
2024-08-21 06:55:52 +00:00

12 lines
211 B
Nix

assert builtins ? currentSystem;
assert !builtins ? __currentSystem;
let
x = if builtins ? dirOf then builtins.dirOf /foo/bar else "";
y = if builtins ? fnord then builtins.fnord "foo" else "";
in
x + y