diff options
author | mlatus <wqseleven@gmail.com> | 2020-03-31T11·40+0800 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-04-10T08·39+0200 |
commit | 2007b4a89beca10326c6d94c7763d607eacc7710 (patch) | |
tree | 42b6e028bbeb36bd35669ce1731e11da548e233c /src/libstore | |
parent | eba0892d08dca56905f251cfa9e1d048daf8c31d (diff) |
fix placeholder not substituted in passAsFile
(cherry picked from commit 12556e570924315eb25ad6057b6c2c5162955e4f) Signed-off-by: Domen Kožar <domen@dev.si>
Diffstat (limited to 'src/libstore')
-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 3fd1a7b38ac0..539e1ea71d5b 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -2464,7 +2464,7 @@ void DerivationGoal::initTmpDir() { } else { string fn = ".attr-" + std::to_string(fileNr++); Path p = tmpDir + "/" + fn; - writeFile(p, i.second); + writeFile(p, rewriteStrings(i.second, inputRewrites)); chownToBuilder(p); env[i.first + "Path"] = tmpDirInSandbox + "/" + fn; } |