add nix flake updating to the updater script
This commit is contained in:
parent
aebd8cb5be
commit
d79cc03be1
1 changed files with 2 additions and 0 deletions
|
@ -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}
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue