mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 15:02:42 +01:00
Simplify DerivationGoal::unprepareBuild::diskFull
We only need it defined in the narrower scope
This commit is contained in:
parent
374f8e79a1
commit
8dd289099c
1 changed files with 1 additions and 3 deletions
|
|
@ -475,12 +475,10 @@ SingleDrvOutputs DerivationBuilderImpl::unprepareBuild()
|
|||
((double) buildResult.cpuSystem->count()) / 1000000);
|
||||
}
|
||||
|
||||
bool diskFull = false;
|
||||
|
||||
/* Check the exit status. */
|
||||
if (!statusOk(status)) {
|
||||
|
||||
diskFull |= decideWhetherDiskFull();
|
||||
bool diskFull = decideWhetherDiskFull();
|
||||
|
||||
cleanupBuild();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue