Skip to content

Commit

Permalink
man-pages: Don't have a separate docdev output
Browse files Browse the repository at this point in the history
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/).

(cherry picked from commit e84a352)
  • Loading branch information
edolstra committed Nov 8, 2016
1 parent 4b003d4 commit 74a3abb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkgs/data/documentation/man-pages/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "1vimj3va16plxmv46rw6nzw4m9l11hb7r1d217y1bjpd5q8nw8qz";
};

# keep developer docs separately (man2 and man3)
outputs = [ "out" "devdoc" ];
makeFlags = [ "MANDIR=$(out)/share/man" ];
postFixup = ''
moveToOutput share/man/man2 "$devdoc"
'';

meta = with stdenv.lib; {
description = "Linux development manual pages";
Expand Down

0 comments on commit 74a3abb

Please sign in to comment.