about summary refs log tree commit diff
path: root/ops/modules
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-12-02T06·16+0300
committerVincent Ambo <mail@tazj.in>2021-12-02T06·16+0300
commitc53d6d34538298657c7b1a6abebeb542c86cc0b7 (patch)
treea6ba4d478970b8e5769529e8d5885440e0529aa2 /ops/modules
parent433f0ae5cd43a2d3affb6f14bc5b9b9b19a6e37f (diff)
fix(ops/nixery): Temporarily stop serving depot packages in Nixery r/3132
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
Diffstat (limited to 'ops/modules')
-rw-r--r--ops/modules/nixery.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/ops/modules/nixery.nix b/ops/modules/nixery.nix
index 58c975815eac..60d151045756 100644
--- a/ops/modules/nixery.nix
+++ b/ops/modules/nixery.nix
@@ -32,7 +32,7 @@ in {
 
       environment = {
         PORT = toString cfg.port;
-        NIXERY_PKGS_PATH = "${depot.path}/.nixery";
+        NIXERY_PKGS_PATH = pkgs.path;
         NIXERY_STORAGE_BACKEND = "filesystem";
         NIX_TIMEOUT = "60"; # seconds
         STORAGE_PATH = storagePath;