1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 00:22:13 +00:00
nixpkgs/pkgs/os-specific/linux/libcap/default.nix
Eelco Dolstra afe69eecbe * Use kernel 2.6 libcap.
svn path=/nixpkgs/trunk/; revision=10895
2008-02-29 09:42:12 +00:00

19 lines
425 B
Nix

{stdenv, fetchurl, attr}:
assert stdenv.isLinux;
stdenv.mkDerivation {
name = "libcap-2.07";
src = fetchurl {
url = mirror://kernel/linux/libs/security/linux-privs/kernel-2.6/libcap-2.07.tar.gz;
sha256 = "1zz8nyqzb15lf31akwyzzfdhyhf9xvl9rqih90m9kypmcmc4yz5q";
};
buildInputs = [attr];
preBuild = ''
makeFlagsArray=(LIBDIR=$out/lib INCDIR=$out/include SBINDIR=$out/sbin MANDIR=$out/man)
'';
}