mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
Fix an uninitialised variable
The variable ‘useChroot’ was not initialised properly. This caused random failures if using the build hook. Seen on Mac OS X 10.7 with Clang. Thanks to KolibriFX for finding this :-)
This commit is contained in:
parent
6fe13e6aba
commit
1c94524458
1 changed files with 1 additions and 0 deletions
|
@ -837,6 +837,7 @@ private:
|
|||
|
||||
DerivationGoal::DerivationGoal(const Path & drvPath, Worker & worker)
|
||||
: Goal(worker)
|
||||
, useChroot(false)
|
||||
{
|
||||
this->drvPath = drvPath;
|
||||
state = &DerivationGoal::init;
|
||||
|
|
Loading…
Reference in a new issue