Don't build release on darwin

This commit is contained in:
Graham Christensen 2017-11-24 14:41:38 -05:00
parent 441853e724
commit 104daac70d
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -68,7 +68,7 @@ impl worker::SimpleWorker for BuildWorker {
_ => "./default.nix"
};
if buildfile == "./nixos/default.nix" && self.system != "x86_64-linux" {
if buildfile == "./nixos/release.nix" && self.system != "x86_64-linux" {
// NixOS jobs get routed to all builders, even though darwin
// cannot build them.
return self.actions().nasty_hack_linux_only(&job);