nix-super/tests/functional/lang/eval-okay-path-string-interpolation.nix

13 lines
202 B
Nix
Raw 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"};
}