aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-04-01 00:03:50 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-04-01 00:03:50 +0200
commit4fdec5f61d5eef5f78ecfd7cbfea491979f15ac9 (patch)
tree7b16b299944cf158d54e7487640f3864ed3083a2 /src/libstore
parent03b56e96bfa89e82beee3f57de79d64c9f173afd (diff)
parenta7540294cfae82c098e8691cd5212a9184add574 (diff)
Merge remote-tracking branch 'origin/master' into flakes
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 0e3a23a4d..527d7ac42 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -2465,7 +2465,7 @@ void DerivationGoal::initTmpDir() {
auto hash = hashString(htSHA256, i.first);
string fn = ".attr-" + hash.to_string(Base32, false);
Path p = tmpDir + "/" + fn;
- writeFile(p, i.second);
+ writeFile(p, rewriteStrings(i.second, inputRewrites));
chownToBuilder(p);
env[i.first + "Path"] = tmpDirInSandbox + "/" + fn;
}