From da64c8c904680811aac24fca20351cc0c96706b3 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Thu, 9 May 2024 15:45:38 -0400 Subject: [PATCH] nits --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index bbbd4fb..b1a203f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -28,10 +28,10 @@ class UpdateFlakeLockAction { async update(): Promise { // Nix command of this form: - // nix ${maybe nix options} flake lock ${maybe --update-input flags} --commit-lock-file --commit-lockfile-summary ${commit message} + // nix ${maybe nix options} flake ${update" or "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-lockfile-summary "updated flake.lock" - // nix flake lock --commit-lock-file --commit-lockfile-summary "updated flake.lock" + // nix flake update --commit-lock-file --commit-lockfile-summary "updated flake.lock" const nixCommandArgs: string[] = makeNixCommandArgs( this.nixOptions, this.flakeInputs,