2010-09-27 15:49:13 +02:00
|
|
|
{stdenv, libcap}:
|
|
|
|
|
|
|
|
assert stdenv.isLinux;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libcap-progs-${libcap.version}";
|
|
|
|
|
|
|
|
inherit (libcap) src makeFlags;
|
|
|
|
|
|
|
|
buildInputs = [ libcap ];
|
|
|
|
|
|
|
|
preConfigure = "cd progs";
|
|
|
|
|
2012-07-19 16:25:56 +02:00
|
|
|
installFlags = "RAISE_SETFCAP=no";
|
|
|
|
|
2010-09-27 15:49:13 +02:00
|
|
|
postInstall = libcap.postinst name;
|
|
|
|
}
|