revert(whitby): Use Tvix as the system Nix on whitby

This reverts commit 8fa3087067.

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>
This commit is contained in:
tazjin 2020-08-21 01:59:43 +00:00
parent 8fa3087067
commit 674d921202

View file

@ -148,7 +148,6 @@ in lib.fix(self: {
time.timeZone = "UTC";
nix = {
package = depot.third_party.nix;
nrBuildUsers = 128;
maxJobs = lib.mkDefault 64;
extraOptions = ''