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

13 lines
202 B
Nix
Raw Permalink Normal View History

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