nix/tests/lang/eval-okay-path-antiquotation.nix
2021-08-06 07:06:52 -04:00

13 lines
202 B
Nix

let
foo = "foo";
in
{
simple = ./${foo};
surrounded = ./a-${foo}-b;
absolute = /${foo};
expr = ./${foo + "/bar"};
home = ~/${foo};
notfirst = ./bar/${foo};
slashes = /${foo}/${"bar"};
}