mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
16 lines
247 B
Nix
16 lines
247 B
Nix
|
{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;
|
||
|
}
|