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,
|
callPackage,
|
||||||
writeScriptBin,
|
writeScriptBin,
|
||||||
bash,
|
bash,
|
||||||
|
nix,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
script = lib.concatMapStringsSep "\n" (f: callPackage "${f}/updater.nix" { }) [ ./art ];
|
script = lib.concatMapStringsSep "\n" (f: callPackage "${f}/updater.nix" { }) [ ./art ];
|
||||||
|
@ -10,5 +11,6 @@ in
|
||||||
writeScriptBin "updater" ''
|
writeScriptBin "updater" ''
|
||||||
#!${bash}/bin/bash
|
#!${bash}/bin/bash
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
|
${nix}/bin/nix flake update
|
||||||
${script}
|
${script}
|
||||||
''
|
''
|
||||||
|
|
Loading…
Reference in a new issue