add nix flake updating to the updater script

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-12 08:57:52 +01:00
parent aebd8cb5be
commit d79cc03be1

View file

@ -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}
''