Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I8640148e8e7597924f9c776750c856266a6a6964
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;
|
|
}
|