man-pages: Don't have a separate docdev output
I got: $ nix-env -f . -iA manpages $ man mmap No manual entry for mmap which is suboptimal for a package that "documents the Linux kernel and C library interfaces that are employed by user-space programs" (https://www.kernel.org/doc/man-pages/).
This commit is contained in:
parent
e800ba8df7
commit
e84a3524b5
|
@ -9,12 +9,7 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1vimj3va16plxmv46rw6nzw4m9l11hb7r1d217y1bjpd5q8nw8qz";
|
sha256 = "1vimj3va16plxmv46rw6nzw4m9l11hb7r1d217y1bjpd5q8nw8qz";
|
||||||
};
|
};
|
||||||
|
|
||||||
# keep developer docs separately (man2 and man3)
|
|
||||||
outputs = [ "out" "docdev" ];
|
|
||||||
makeFlags = [ "MANDIR=$(out)/share/man" ];
|
makeFlags = [ "MANDIR=$(out)/share/man" ];
|
||||||
postFixup = ''
|
|
||||||
moveToOutput share/man/man2 "$docdev"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Linux development manual pages";
|
description = "Linux development manual pages";
|
||||||
|
|
Loading…
Reference in a new issue