mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
Fix windows build
I forget to add some CPP in b57caaa1a2.
Hopefully, as we relyon RAII more, these explicit resets become
unneeded.
This commit is contained in:
parent
9150ccb89e
commit
10223fae86
1 changed files with 2 additions and 0 deletions
|
|
@ -495,7 +495,9 @@ Goal::Co DerivationBuildingGoal::tryToBuild()
|
|||
Magenta(
|
||||
"/usr/sbin/softwareupdate --install-rosetta && launchctl stop org.nixos.nix-daemon"));
|
||||
|
||||
#ifndef _WIN32 // TODO enable `DerivationBuilder` on Windows
|
||||
builder.reset();
|
||||
#endif
|
||||
outputLocks.unlock();
|
||||
worker.permanentFailure = true;
|
||||
co_return doneFailure({BuildResult::Failure::InputRejected, std::move(msg)});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue