summary refs log tree commit diff
path: root/pkgs/os-specific/linux/libcap/man.nix
blob: 9aac3c4e1f5a0c2f4b0566fe2d6e09e0575959d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{stdenv, libcap}:

assert stdenv.isLinux;

stdenv.mkDerivation rec {
  name = "libcap-docs-${libcap.version}";

  inherit (libcap) src;

  makeFlags = "MANDIR=$(out)/share/man";

  preConfigure = "cd doc";

  postInstall = libcap.postinst name;
}