1
0
Fork 0
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:
Eelco Dolstra 2015-02-17 16:42:54 +01:00
parent a70d275f3d
commit bd91064150
3 changed files with 13 additions and 7 deletions

View file

@ -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;
}
}