From d79cc03be13f74a9d5a64cec7985b210cae2fbcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Tue, 12 Nov 2024 08:57:52 +0100 Subject: [PATCH] add nix flake updating to the updater script --- packages/updater.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/updater.nix b/packages/updater.nix index 502e5725..1f953ef4 100644 --- a/packages/updater.nix +++ b/packages/updater.nix @@ -3,6 +3,7 @@ callPackage, writeScriptBin, bash, + nix, }: let script = lib.concatMapStringsSep "\n" (f: callPackage "${f}/updater.nix" { }) [ ./art ]; @@ -10,5 +11,6 @@ in writeScriptBin "updater" '' #!${bash}/bin/bash set -euxo pipefail + ${nix}/bin/nix flake update ${script} ''