mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
25de2c279b
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
17 lines
296 B
Nix
17 lines
296 B
Nix
{stdenv, pam, libcap}:
|
|
|
|
assert stdenv.isLinux;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "cap_pam.so-${libcap.version}";
|
|
|
|
inherit (libcap) src;
|
|
|
|
buildInputs = [ libcap pam ];
|
|
|
|
preConfigure = "cd pam_cap";
|
|
|
|
makeFlags = "${libcap.makeFlags} PAM_CAP=yes";
|
|
|
|
postInstall = libcap.postinst name;
|
|
}
|