Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I9d6ce6a264780f215b1b57d947b5264c6a6a6964
13 lines
207 B
Nix
13 lines
207 B
Nix
# Test path concatenation
|
|
let
|
|
# Path + string = path
|
|
p1 = ./foo + "/bar";
|
|
|
|
# String + path = path
|
|
p2 = "/prefix" + ./suffix;
|
|
|
|
# Path + path = path
|
|
p3 = ./dir + ./file;
|
|
in {
|
|
inherit p1 p2 p3;
|
|
}
|