aboutsummaryrefslogtreecommitdiff
path: root/tests/lang/eval-okay-path-antiquotation.nix
blob: 497d7c1c756d16205b14021881d8e97b0c225b97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
let
  foo = "foo";
in
{
  simple = ./${foo};
  surrounded = ./a-${foo}-b;
  absolute = /${foo};
  expr = ./${foo + "/bar"};
  home = ~/${foo};
  notfirst = ./bar/${foo};
  slashes = /${foo}/${"bar"};
}