nixpkgs/pkgs/os-specific/linux/libcap/progs.nix
Yury G. Kudryashov 25de2c279b Split libcap package
libcap can be splitted for free (just cd subdir; make install).
So I've decided not to raise up disscussions "should we build cap_pam.so?" etc.

svn path=/nixpkgs/branches/stdenv-updates/; revision=23967
2010-09-27 13:49:13 +00:00

16 lines
247 B
Nix

{stdenv, libcap}:
assert stdenv.isLinux;
stdenv.mkDerivation rec {
name = "libcap-progs-${libcap.version}";
inherit (libcap) src makeFlags;
buildInputs = [ libcap ];
preConfigure = "cd progs";
postInstall = libcap.postinst name;
}