fix(ops/nixery): Temporarily stop serving depot packages in Nixery

Change the Nixery configuration to use the plain nixpkgs package path
instead of the depot path. AFAIK, nobody uses this to fetches depot
packages at the moment - but plenty of people fetch non-depot
packages.

This means that Nixery is cache-busted less often (previously on every
commit => every deploy).

We'll figure out another way to have a depot Nixery later.

Change-Id: Iba632333346181c3d2ce992fbab396ed0d9f86aa
This commit is contained in:
Vincent Ambo 2021-12-02 09:16:52 +03:00
parent 433f0ae5cd
commit c53d6d3453

View file

@ -32,7 +32,7 @@ in {
environment = { environment = {
PORT = toString cfg.port; PORT = toString cfg.port;
NIXERY_PKGS_PATH = "${depot.path}/.nixery"; NIXERY_PKGS_PATH = pkgs.path;
NIXERY_STORAGE_BACKEND = "filesystem"; NIXERY_STORAGE_BACKEND = "filesystem";
NIX_TIMEOUT = "60"; # seconds NIX_TIMEOUT = "60"; # seconds
STORAGE_PATH = storagePath; STORAGE_PATH = storagePath;