man-only packages: fixup after stdenv changes
Thanks to @avnik for notification. The stdenv now auto-removes developer-only documentation unless explicitly indicated, which wasn't a good fit for these packages.
This commit is contained in:
parent
363f667e8b
commit
c979012631
@ -9,7 +9,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0v8zxq4scfixy3pjpw9ankvv5v8frv62khv4xm1jpkswyq6rbqcg";
|
||||
};
|
||||
|
||||
# keep developer docs separately (man2 and man3)
|
||||
outputs = [ "out" "docdev" ];
|
||||
makeFlags = [ "MANDIR=$(out)/share/man" ];
|
||||
postFixup = ''moveToOutput share/man/man2 "$docdev" '';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit version;
|
||||
|
@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0153py77ll759jacq41dp2z2ksr08pdcfic0rwjd6pr84dk89y9v";
|
||||
};
|
||||
|
||||
outputDocdev = "out";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/man
|
||||
cp -R * $out/share/man
|
||||
|
@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "09c5gjhcz97ghfrv9zkgfb1wckvmqnhbzga0xidbm1ir7640di8l";
|
||||
};
|
||||
|
||||
outputDocdev = "out";
|
||||
|
||||
preConfigure = "
|
||||
patchShebangs ./configure
|
||||
patchShebangs ./do_install
|
||||
|
Loading…
Reference in New Issue
Block a user