diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-05-09 12:31:36 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-05-09 12:31:36 -0400 |
commit | 6513f4fe92726baf2300448762c99733f6fe132a (patch) | |
tree | a5e57c7dddf0d504547af7154c0db8b90805f464 /src/libstore | |
parent | 35dcbe1c21bbc898d34e6f0a3f9879a8c53cdaff (diff) |
Fix bug, `newInfo` -> `newInfo0`
It appears we were checking a variable in the process of definining it.
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/build/local-derivation-goal.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build/local-derivation-goal.cc b/src/libstore/build/local-derivation-goal.cc index c8944ec8d..eb6c00e77 100644 --- a/src/libstore/build/local-derivation-goal.cc +++ b/src/libstore/build/local-derivation-goal.cc @@ -2529,7 +2529,7 @@ SingleDrvOutputs LocalDerivationGoal::registerOutputs() wanted.to_string(SRI, true), got.to_string(SRI, true))); } - if (!newInfo.references.empty()) + if (!newInfo0.references.empty()) delayedException = std::make_exception_ptr( BuildError("illegal path references in fixed-output derivation '%s'", worker.store.printStorePath(drvPath))); |