if git -C "$LOCATION" diff-index --quiet HEAD --;then
nix flake update --commit-lock-file "$LOCATION"
apply $1
cleanup
else
echo"Error: git working tree is dirty"
exit1
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.