forked from mirrors/nixpkgs
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.
This commit is contained in:
parent
29852f9d24
commit
b3faef0d93
|
@ -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"}
|
||||
|
|
Loading…
Reference in a new issue