Skip to content

Commit

Permalink
docs(comment): Update on Nix 2.19
Browse files Browse the repository at this point in the history
As of Nix 2.19, `nix flake update` command has been changed to accept the names
of flake inputs. This replaces `nix flake lock --update-input <input>` which has
been used in many of my projects. See the following release note for details:

https://nixos.org/manual/nix/stable/release-notes/rl-2.19
  • Loading branch information
akirak committed Dec 1, 2023
1 parent 2eac27a commit 64265be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/emacs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
localPackages ? [],
# Commands to run after running generateLockDir. The command is run at the
# root of the Git repository containing the lock directory. For example, if
# you have added the lock directory as a subflake, you can run `nix flake lock
# --update-input <input name>` to update the flake input.
# you have added the lock directory as a subflake, you can run `nix flake update
# <input name>` (since Nix 2.19) to update the flake input.
postCommandOnGeneratingLockDir ? null,
# User-provided list of Emacs built-in libraries as a string list
initialLibraries ? null,
Expand Down

0 comments on commit 64265be

Please sign in to comment.