nixpkgs/pkgs/os-specific/linux/libcap/pam.nix

18 lines
296 B
Nix
Raw Normal View History

{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;
}