lockfile-summary, d'oh
This commit is contained in:
@ -28,10 +28,10 @@ class UpdateFlakeLockAction {
|
||||
|
||||
async update(): Promise<void> {
|
||||
// Nix command of this form:
|
||||
// nix ${maybe nix options} flake lock ${maybe --update-input flags} --commit-lock-file --commit-lock-file-summary ${commit message}
|
||||
// nix ${maybe nix options} flake lock ${maybe --update-input flags} --commit-lock-file --commit-lockfile-summary ${commit message}
|
||||
// Example commands:
|
||||
// nix --extra-substituters https://example.com flake lock --update-input nixpkgs --commit-lock-file --commit-lock-file-summary "updated flake.lock"
|
||||
// nix flake lock --commit-lock-file --commit-lock-file-summary "updated flake.lock"
|
||||
// nix --extra-substituters https://example.com flake lock --update-input nixpkgs --commit-lock-file --commit-lockfile-summary "updated flake.lock"
|
||||
// nix flake lock --commit-lock-file --commit-lockfile-summary "updated flake.lock"
|
||||
const nixCommandArgs: string[] = makeNixCommandArgs(
|
||||
this.nixOptions,
|
||||
this.flakeInputs,
|
||||
|
@ -24,7 +24,7 @@ test("Nix command arguments", () => {
|
||||
"flake",
|
||||
"lock",
|
||||
"--commit-lock-file",
|
||||
"--commit-lock-file-summary",
|
||||
"--commit-lockfile-summary",
|
||||
'"just testing"',
|
||||
],
|
||||
},
|
||||
@ -42,7 +42,7 @@ test("Nix command arguments", () => {
|
||||
"--update-input",
|
||||
"rust-overlay",
|
||||
"--commit-lock-file",
|
||||
"--commit-lock-file-summary",
|
||||
"--commit-lockfile-summary",
|
||||
'"just testing"',
|
||||
],
|
||||
},
|
||||
@ -57,7 +57,7 @@ test("Nix command arguments", () => {
|
||||
"flake",
|
||||
"lock",
|
||||
"--commit-lock-file",
|
||||
"--commit-lock-file-summary",
|
||||
"--commit-lockfile-summary",
|
||||
'"just testing"',
|
||||
],
|
||||
},
|
||||
|
@ -14,7 +14,7 @@ export function makeNixCommandArgs(
|
||||
.concat(flakeInputFlags)
|
||||
.concat([
|
||||
"--commit-lock-file",
|
||||
"--commit-lock-file-summary",
|
||||
"--commit-lockfile-summary",
|
||||
`"${commitMessage}"`,
|
||||
]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user