From b3faef0d9328446cf819fa897116aff28c10a9f9 Mon Sep 17 00:00:00 2001 From: Michael Ekstrand Date: Sat, 27 Feb 2016 20:01:34 -0600 Subject: nano: build info manual (close #13527) Make nano depend use texinfo, so that the built packages include the info manual, and put it into a separate output. --- pkgs/applications/editors/nano/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pkgs/applications') diff --git a/pkgs/applications/editors/nano/default.nix b/pkgs/applications/editors/nano/default.nix index 9c8238244ff1..61818561f74e 100644 --- a/pkgs/applications/editors/nano/default.nix +++ b/pkgs/applications/editors/nano/default.nix @@ -1,5 +1,6 @@ { stdenv, fetchurl , ncurses +, texinfo , gettext ? null , enableNls ? true , enableTiny ? false @@ -16,7 +17,8 @@ stdenv.mkDerivation rec { url = "mirror://gnu/nano/${name}.tar.gz"; sha256 = "1vl9bim56k1b4zwc3icxp46w6pn6gb042j1h4jlz1jklxxpkwcpz"; }; - buildInputs = [ ncurses ] ++ optional enableNls gettext; + buildInputs = [ ncurses texinfo ] ++ optional enableNls gettext; + outputs = [ "out" "info" ]; configureFlags = '' --sysconfdir=/etc ${optionalString (!enableNls) "--disable-nls"} -- cgit 1.4.1