WIP: rewrite config #618

Draft
darkkirb wants to merge 416 commits from rewrite into main
Showing only changes of commit d79cc03be1 - Show all commits

View file

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