nixpkgs/pkgs/os-specific/linux/libcap/man.nix

16 lines
247 B
Nix
Raw Normal View History

{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;
}