libunwind: Add devman output
Installing the man pages is a bit more tricky. The configure script completely disables the documentation unless latex2man is found. However, just installing the man pages can be done without latex2man, because the man pages are pre-built in the source tarball. Therefore we pass ${coreutils}/bin/true as latex2man, which allows to install the pre-build man pages without depending on full texlive.
This commit is contained in:
parent
cef4502feb
commit
b9116f712f
1 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, lib, fetchurl, autoreconfHook, xz }:
|
{ stdenv, lib, fetchurl, autoreconfHook, xz, coreutils }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libunwind";
|
pname = "libunwind";
|
||||||
|
@ -17,7 +17,11 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" "devman" ];
|
||||||
|
|
||||||
|
# Without latex2man, no man pages are installed despite being
|
||||||
|
# prebuilt in the source tarball.
|
||||||
|
configureFlags = "LATEX2MAN=${coreutils}/bin/true";
|
||||||
|
|
||||||
propagatedBuildInputs = [ xz ];
|
propagatedBuildInputs = [ xz ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue