2010-09-27 14:49:13 +01: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 15:25:56 +01:00
|
|
|
installFlags = "RAISE_SETFCAP=no";
|
|
|
|
|
2010-09-27 14:49:13 +01:00
|
|
|
postInstall = libcap.postinst name;
|
|
|
|
}
|