Use nix flake update --commit-lock-file
This commit is contained in:
parent
f47d85b5a6
commit
7faea4abd5
|
@ -85,9 +85,8 @@ in
|
|||
set -eu
|
||||
cd ${config.secrets.nixConfigFolder}
|
||||
git pull --recurse-submodules
|
||||
nix flake update
|
||||
git add flake.lock
|
||||
git diff --quiet && git diff --staged --quiet || git commit -am "Update flake.lock" && git push # Courtesy of https://stackoverflow.com/a/40255467
|
||||
nix flake update --commit-lock-file
|
||||
git push
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue