mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Use $<attr>Path instead of $<attr> for passAsFile
This commit is contained in:
parent
a70d275f3d
commit
bd91064150
3 changed files with 13 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue