* Allow string concatenations involving derivations, e.g.,
configureFlags = "--with-freetype2-library="
+ freetype + "/lib";
This commit is contained in:
parent
cce31b739c
commit
6cecad2be0
8 changed files with 130 additions and 18 deletions
|
|
@ -18,8 +18,9 @@ let {
|
|||
name = "dependencies";
|
||||
system = "@system@";
|
||||
builder = "@shell@";
|
||||
args = ["-e" "-x" ./dependencies.builder0.sh];
|
||||
inherit input1 input2;
|
||||
args = ["-e" "-x" (./dependencies.builder0.sh + "/FOOBAR/../.")];
|
||||
input1 = input1 + "/.";
|
||||
inherit input2;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
@ -1 +1 @@
|
|||
Str("foobar/a/b/c/d")
|
||||
Str("foobar/a/b/c/d/foo/xyzzy/foo.txt/../foo/x/y")
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
"foo" + "bar" + toString (/a/b + /c/d)
|
||||
"foo" + "bar" + toString (/a/b + /c/d) + (/foo/bar + "/../xyzzy/." + "/foo.txt") + ("/../foo" + /x/y)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue