mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
0064599a27
"--with-freetype2-library=" + freetype + "/lib" can now be written as "--with-freetype2-library=${freetype}/lib" An arbitrary expression can be enclosed within ${...}, not just identifiers. * Escaping in string literals: \n, \r, \t interpreted as in C, any other character following \ is interpreted as-is. * Newlines are now allowed in string literals.
9 lines
215 B
Nix
9 lines
215 B
Nix
"foo" + "bar"
|
|
+ toString (/a/b + /c/d)
|
|
+ (/foo/bar + "/../xyzzy/." + "/foo.txt")
|
|
+ ("/../foo" + /x/y)
|
|
+ "escape: \"quote\" \n \\"
|
|
+ "end
|
|
of
|
|
line"
|
|
+ "foo${if true then "b${"a" + "r"}" else "xyzzy"}blaat"
|