Merge pull request #4963 from futile/patch-1
README.org: Add info about vterm in NixOS
This commit is contained in:
commit
b687acbd4a
1 changed files with 10 additions and 2 deletions
|
@ -60,7 +60,7 @@ variable (=SPC h v system-configuration-options=).
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
# emacs # no need for this, the next line includes emacs
|
# emacs # no need for this, the next line includes emacs
|
||||||
((emacsPackagesNgGen emacs).emacsWithPackages (epkgs: [
|
((emacsPackagesNgGen emacs).emacsWithPackages (epkgs: [
|
||||||
epkgs.emacs-libvterm
|
epkgs.vterm
|
||||||
]))
|
]))
|
||||||
];
|
];
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
@ -70,10 +70,18 @@ variable (=SPC h v system-configuration-options=).
|
||||||
#+BEGIN_SRC nix
|
#+BEGIN_SRC nix
|
||||||
programs.emacs = {
|
programs.emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = epkgs: [ epkgs.emacs-libvterm ];
|
extraPackages = epkgs: [ epkgs.vterm ];
|
||||||
};
|
};
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
This already contains a version of =vterm-module.so=, so NixOS users need
|
||||||
|
not compile the module themselves as described below.
|
||||||
|
|
||||||
|
Note: The =nixpkgs=-version that is used needs to be compatible with the rest
|
||||||
|
of the plugins installed in =doom=. Therefore it might be necessary to pull in
|
||||||
|
=emacs= and/or =emacsPackagesNgGen= from =unstable= or another channel. Otherwise
|
||||||
|
arbitrary functionality of =vterm= might not work.
|
||||||
|
|
||||||
** Compilation tools for vterm-module.so
|
** Compilation tools for vterm-module.so
|
||||||
When you first load vterm, it will compile =vterm-module.so= for you. For this
|
When you first load vterm, it will compile =vterm-module.so= for you. For this
|
||||||
to succeed, you need the following:
|
to succeed, you need the following:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue