nix-dotfiles/utils/manual-update.sh

12 lines
183 B
Bash
Executable File

#!/usr/bin/env bash
set -e
set -v
set -x
git checkout main
git branch -D update_flake_lock_action || true
git checkout -b update_flake_lock_action
nix flake update
nix flake check