aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-02-17 16:42:54 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-02-17 16:42:54 +0100
commitbd9106415099b32a51f66be886d18271e65ac9dd (patch)
treea2cf442a8c265fee174b817eef64d6cae0126159 /src/libstore
parenta70d275f3d25f6e1eb1b6d528ee07ecd7265ada5 (diff)
Use $<attr>Path instead of $<attr> for passAsFile
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/build.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 0b1985828..e64bd3fef 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -1662,7 +1662,7 @@ void DerivationGoal::startBuilder()
} else {
Path p = tmpDir + "/.attr-" + int2String(fileNr++);
writeFile(p, i.second);
- env[i.first] = p;
+ env[i.first + "Path"] = p;
}
}