about summary refs log tree commit diff
path: root/ops/nixos
diff options
context:
space:
mode:
authortazjin <mail@tazj.in>2020-08-21T01·59+0000
committertazjin <mail@tazj.in>2020-08-21T02·01+0000
commit674d921202754661bfcc02ef8fe40ade227349cb (patch)
tree8b92bfa695c87c90abde13845373e811b00d94c8 /ops/nixos
parent8fa30870673fcdd5410c2593321153ab7cfbe36f (diff)
revert(whitby): Use Tvix as the system Nix on whitby r/1701
This reverts commit 8fa30870673fcdd5410c2593321153ab7cfbe36f.

Reason for revert:

This almost worked. We discovered two important issues:

- The daemon startup does not correctly handle the socket passed in by systemd.

- There is some issue with chunking of large calls, running a build for ci-builds resulted in:

tazjin@whitby /depot (canon)> nix-build -A ciBuilds.__allTargets
E20200821 01:42:22.846053 12601 shared.cc:306] error: Rpc call addTextToStore to unix:///nix/var/nix/daemon-socket/socket failed (RESOURCE_EXHAUSTED): Received message larger than max (10889961 vs. 4194304)

Change-Id: Ic5ba4ef06a4953cf71a36b139fe25ea673cb6fee
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1802
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'ops/nixos')
-rw-r--r--ops/nixos/whitby/default.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/ops/nixos/whitby/default.nix b/ops/nixos/whitby/default.nix
index a766609a29e8..17bd2b721362 100644
--- a/ops/nixos/whitby/default.nix
+++ b/ops/nixos/whitby/default.nix
@@ -148,7 +148,6 @@ in lib.fix(self: {
   time.timeZone = "UTC";
 
   nix = {
-    package = depot.third_party.nix;
     nrBuildUsers = 128;
     maxJobs = lib.mkDefault 64;
     extraOptions = ''