mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
nix! in the CI: it's my new panic! at the disco cover band
This commit is contained in:
parent
22fcfa79da
commit
db0d51794c
1 changed files with 5 additions and 1 deletions
|
|
@ -77,6 +77,10 @@ with lib; {
|
|||
nixpkgs.path = "${channels.nixfiles.inputs.nixpkgs}";
|
||||
};
|
||||
|
||||
environment.test = {
|
||||
inherit (channels.nixpkgs) nix;
|
||||
};
|
||||
|
||||
jobs.flake-update = {
|
||||
tasks.flake-build.inputs = with channels.cipkgs;
|
||||
ci.command {
|
||||
|
|
@ -105,7 +109,7 @@ with lib; {
|
|||
chmod 0600 ~/.ssh/id_rsa
|
||||
fi
|
||||
|
||||
${concatStringsSep "\n" (mapAttrsToList (n: v: "nix flake --update-input ${n}") channels.nixfiles.inputs)}
|
||||
${concatStringsSep "\n" (mapAttrsToList (n: v: "nix flake lock --update-input ${n}") channels.nixfiles.inputs)}
|
||||
|
||||
if git status --porcelain | grep -qF flake.lock; then
|
||||
git -P diff flake.lock
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue