Skip to content

Commit

Permalink
fix placeholder not substituted in passAsFile
Browse files Browse the repository at this point in the history
(cherry picked from commit 12556e5)
Signed-off-by: Domen Kožar <domen@dev.si>
  • Loading branch information
Ninlives authored and edolstra committed Apr 10, 2020
1 parent eba0892 commit 2007b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstore/build.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2007b4a

Please sign in to comment.