mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
allow modifying lockfile commit msg with nix config option
This allows setting the commit-lockfile-summary option to a non-empty string to override the commit summary while leaving the body unchanged.
This commit is contained in:
parent
4af88a4c91
commit
3e5a9ad7ff
2 changed files with 23 additions and 4 deletions
|
@ -966,6 +966,13 @@ public:
|
|||
|
||||
Setting<bool> acceptFlakeConfig{this, false, "accept-flake-config",
|
||||
"Whether to accept nix configuration from a flake without prompting."};
|
||||
|
||||
Setting<std::string> commitLockFileSummary{
|
||||
this, "", "commit-lockfile-summary",
|
||||
R"(
|
||||
The commit summary to use when commiting changed flake lock files. If
|
||||
empty, the summary is generated based on the action performed.
|
||||
)"};
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue