From 309ada567b3fb0f3302724bedaca941b778c1f2b Mon Sep 17 00:00:00 2001 From: matt1432 Date: Tue, 13 Aug 2024 20:40:55 -0400 Subject: [PATCH] fix(bin-cache): fix buildAll script --- devices/servivi/modules/binary-cache.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/devices/servivi/modules/binary-cache.nix b/devices/servivi/modules/binary-cache.nix index 67fa58f0..552f59d3 100644 --- a/devices/servivi/modules/binary-cache.nix +++ b/devices/servivi/modules/binary-cache.nix @@ -40,10 +40,10 @@ in { }; path = - [ - nix-fast-buildPkg - ] + [nix-fast-buildPkg] ++ (with pkgs; [ + bash + config.nix.package git openssh ]); @@ -59,9 +59,11 @@ in { cd .. rm -r nix-clone - nix build sourcehut:~rycee/mozilla-addons-to-nix + # Just to cache mozilla-addons-to-nix + nix run sourcehut:~rycee/mozilla-addons-to-nix -- --help ''; }; + timers.buildAll = { wantedBy = ["timers.target"]; partOf = ["buildAll.service"];