mirror of
https://github.com/NixOS/nix.git
synced 2025-10-14 02:19:32 +08: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:
@@ -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)});
|
||||
|
Reference in New Issue
Block a user