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:
Vladimír Čunát
2016-01-28 13:55:37 +01:00
parent 363f667e8b
commit c979012631
3 changed files with 9 additions and 2 deletions
@@ -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;