From b3e8f34761d9facb899c176c0d863daa273c4761 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Thu, 14 Mar 2024 14:20:43 +0100 Subject: [PATCH] Add nix flake check to the update script so you don't break configurations by updating the lock --- pkgs/update/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/update/default.nix b/pkgs/update/default.nix index 3d856b9..94d98d6 100644 --- a/pkgs/update/default.nix +++ b/pkgs/update/default.nix @@ -19,6 +19,7 @@ writeShellApplication echo "Updating flake lock..." nix flake update git add flake.lock + sudo nix flake check git commit -m "update flake lock" git push popd > /dev/null