mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
ci: I have forgotten what burning smells like, this is fine
This commit is contained in:
parent
8fbbb6dad1
commit
1bec30d6a7
2 changed files with 6 additions and 6 deletions
|
|
@ -28,14 +28,13 @@ with lib; {
|
|||
echo "$OPENSSH_PRIVATE_KEY" > ~/.ssh/id_rsa
|
||||
chmod 0600 ~/.ssh/id_rsa
|
||||
for source in ${toString (attrNames sources)}; do
|
||||
if nix run -f . pkgs.niv -c niv update $source; then
|
||||
${cachix}/bin/cachix push kittywitch $(nix eval --raw "(import ./.).sources.$source.outPath")
|
||||
fi
|
||||
nix run -f . pkgs.niv -c niv update $source || true
|
||||
done
|
||||
nix build -f ../. sourceCache
|
||||
${cachix}/bin/cachix push kittywitch $(nix eval '(toString (import ../.).sourceCache)')
|
||||
if git status --porcelain | grep -qF nix/sources.json; then
|
||||
if nix build -Lf . hosts.{athame,yule,samhain}.config.system.build.toplevel; then
|
||||
nix build -f ../. sourceCache
|
||||
${cachix}/bin/cachix push kittywitch $(nix eval '(toString (import ../.).sourceCache)')
|
||||
nix-build $(echo "-A hosts."{athame,yule,samhain}.config.system.build.toplevel) | ${cachix}/bin/cachix push kittywitch
|
||||
git add nix/sources.json
|
||||
export GIT_{COMMITTER,AUTHOR}_EMAIL=kat@kittywit.ch
|
||||
export GIT_{COMMITTER,AUTHOR}_NAME=kat witch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue