From 5eed33ef087f9267c956e902861168616a47ca74 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sun, 18 Aug 2019 13:33:34 +0200 Subject: [PATCH] emacs: document how to list available extra packages --- modules/programs/emacs.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/programs/emacs.nix b/modules/programs/emacs.nix index fc796af5..0b1514f2 100644 --- a/modules/programs/emacs.nix +++ b/modules/programs/emacs.nix @@ -39,7 +39,11 @@ in type = hmTypes.selectorFunction; 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: + nix-env -f '<nixpkgs>' -qaP -A emacsPackagesNg. + ''; }; overrides = mkOption {