docs(vterm): update nixos install instructions

Some time late 2019 emacsPackagesNgGen was removed from NixOS. This
commit updates the instructions in the vterm readme to use the modern
alternative: emacsPackagesFor.
This commit is contained in:
Sage Raflik 2022-01-24 15:15:27 -06:00 committed by Henrik Lissner
parent b2c366d946
commit 58192633aa

View file

@ -78,7 +78,7 @@ variable ([[kbd:][SPC h v system-configuration-options]]).
#+begin_src nix
systemPackages = with pkgs; [
# emacs # no need for this, the next line includes emacs
((emacsPackagesNgGen emacs).emacsWithPackages (epkgs: [
((emacsPackagesFor emacs).emacsWithPackages (epkgs: [
epkgs.vterm
]))
];
@ -97,7 +97,7 @@ variable ([[kbd:][SPC h v system-configuration-options]]).
Note: The =nixpkgs=-version used must be compatible with the packages Doom
installs, so it might be necessary to pull in =emacs= and/or
=emacsPackagesNgGen= from =unstable= or another channel. Otherwise arbitrary
=emacsPackagesFor= from =unstable= or another channel. Otherwise arbitrary
functionality of =vterm= might not work.
** Compilation tools for vterm-module.so