lix/tests/lang/eval-okay-path-antiquotation.nix

13 lines
202 B
Nix
Raw Normal View History

2021-08-06 11:06:52 +00:00
let
foo = "foo";
in
{
simple = ./${foo};
surrounded = ./a-${foo}-b;
absolute = /${foo};
expr = ./${foo + "/bar"};
home = ~/${foo};
notfirst = ./bar/${foo};
slashes = /${foo}/${"bar"};
}