mirror of
https://github.com/NixOS/nix
synced 2025-06-30 11:43:15 +02:00
Perform input rewrites only in LocalDerivationGoal
This commit is contained in:
parent
6f206549ba
commit
644415d391
4 changed files with 14 additions and 12 deletions
|
@ -444,7 +444,7 @@ static void main_nix_build(int argc, char * * argv)
|
|||
drv
|
||||
);
|
||||
|
||||
if (auto structAttrs = parsedDrv.prepareStructuredAttrs(std::nullopt, *store, inputs)) {
|
||||
if (auto structAttrs = parsedDrv.prepareStructuredAttrs(*store, inputs)) {
|
||||
auto json = structAttrs.value();
|
||||
structuredAttrsRC = writeStructuredAttrsShell(json);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue