Open NobbZ opened 2 years ago
Have a look at commit-lockfile-summary
option in nix.conf
or use
nix --option commit-lockfile-summary "chore: update flake.lock" flake update --update-lock-file
The option is nice, I was not aware of it.
Still having to go through --option
is tedious. A more direct option would be nice, similar to how we also can set --max-jobs
directly.
Also that option still does not cover the --edit
Have a look at
commit-lockfile-summary
option innix.conf
or usenix --option commit-lockfile-summary "chore: update flake.lock" flake update --update-lock-file
This only worked for me via:
nix --option commit-lockfile-summary "chore: update flake.lock" flake update --commit-lock-file
Is your feature request related to a problem? Please describe.
I always have to ammend a commit made by
nix flake update --commit-lock-file
or create a manual commit to get the message in the shape I want it to have.Describe the solution you'd like
Instead I'd like to be able to specify flags that allow me to pass a message directly or to open an editor. For scripting AND non scripting purposes implementing both flags would be ideal.
eg.
Describe alternatives you've considered
Amending commits or tedious
git add; git commit -m …
after the update, which on its own can take a while and make me forget the steps while waiting for it.