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
|
{ stdenv, fetchurl
|
||||||
, ncurses
|
, ncurses
|
||||||
|
, texinfo
|
||||||
, gettext ? null
|
, gettext ? null
|
||||||
, enableNls ? true
|
, enableNls ? true
|
||||||
, enableTiny ? false
|
, enableTiny ? false
|
||||||
|
@ -16,7 +17,8 @@ stdenv.mkDerivation rec {
|
||||||
url = "mirror://gnu/nano/${name}.tar.gz";
|
url = "mirror://gnu/nano/${name}.tar.gz";
|
||||||
sha256 = "1vl9bim56k1b4zwc3icxp46w6pn6gb042j1h4jlz1jklxxpkwcpz";
|
sha256 = "1vl9bim56k1b4zwc3icxp46w6pn6gb042j1h4jlz1jklxxpkwcpz";
|
||||||
};
|
};
|
||||||
buildInputs = [ ncurses ] ++ optional enableNls gettext;
|
buildInputs = [ ncurses texinfo ] ++ optional enableNls gettext;
|
||||||
|
outputs = [ "out" "info" ];
|
||||||
configureFlags = ''
|
configureFlags = ''
|
||||||
--sysconfdir=/etc
|
--sysconfdir=/etc
|
||||||
${optionalString (!enableNls) "--disable-nls"}
|
${optionalString (!enableNls) "--disable-nls"}
|
||||||
|
|
Loading…
Reference in New Issue