emacs: document how to list available extra packages

(cherry picked from commit 5eed33ef08)
This commit is contained in:
Robert Helgesson 2019-08-18 13:33:34 +02:00
parent 35d31c390d
commit 0f85326dee
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -36,7 +36,11 @@ in
default = self: [];
defaultText = "epkgs: []";
example = literalExample "epkgs: [ epkgs.emms epkgs.magit ]";
description = "Extra packages available to Emacs.";
description = ''
Extra packages available to Emacs. To get a list of
available packages run:
<command>nix-env -f '&lt;nixpkgs&gt;' -qaP -A emacsPackagesNg</command>.
'';
};
overrides = mkOption {