* Allow string concatenations involving derivations, e.g.,

configureFlags = "--with-freetype2-library="
      + freetype + "/lib";
This commit is contained in:
Eelco Dolstra 2006-05-01 09:56:56 +00:00
parent cce31b739c
commit 6cecad2be0
8 changed files with 130 additions and 18 deletions

View file

@ -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;
};
}

View file

@ -1 +1 @@
Str("foobar/a/b/c/d")
Str("foobar/a/b/c/d/foo/xyzzy/foo.txt/../foo/x/y")

View file

@ -1 +1 @@
"foo" + "bar" + toString (/a/b + /c/d)
"foo" + "bar" + toString (/a/b + /c/d) + (/foo/bar + "/../xyzzy/." + "/foo.txt") + ("/../foo" + /x/y)