lix/tests/lang/eval-okay-path-string-interpolation.nix

13 lines
202 B
Nix
Raw Normal View History

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