From 64265be92e6a793901c1ee92566bf3222f96599c Mon Sep 17 00:00:00 2001 From: Akira Komamura Date: Fri, 1 Dec 2023 11:50:02 +0900 Subject: [PATCH] docs(comment): Update on Nix 2.19 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 ` 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 --- pkgs/emacs/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/emacs/default.nix b/pkgs/emacs/default.nix index 9297390..84d81d4 100644 --- a/pkgs/emacs/default.nix +++ b/pkgs/emacs/default.nix @@ -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 ` to update the flake input. + # you have added the lock directory as a subflake, you can run `nix flake update + # ` (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,