diff options
author | mlatus <wqseleven@gmail.com> | 2020-03-31 19:40:16 +0800 |
---|---|---|
committer | mlatus <wqseleven@gmail.com> | 2020-03-31 19:40:16 +0800 |
commit | 12556e570924315eb25ad6057b6c2c5162955e4f (patch) | |
tree | 043bddae508bffe167705168d0c1c9c1dda025ec /src | |
parent | 367577d9a6ec465d773f7b3ba53a5656253f514d (diff) |
fix placeholder not substituted in passAsFile
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/build.cc | 2 |
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; } |