mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
28a76a96be
Systemd requires the recent CAP_SYSLOG capability.
17 lines
296 B
Nix
17 lines
296 B
Nix
{stdenv, pam, libcap}:
|
|
|
|
assert stdenv.isLinux;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libcap-pam-${libcap.version}";
|
|
|
|
inherit (libcap) src;
|
|
|
|
buildInputs = [ libcap pam ];
|
|
|
|
preConfigure = "cd pam_cap";
|
|
|
|
makeFlags = "${libcap.makeFlags} PAM_CAP=yes";
|
|
|
|
postInstall = libcap.postinst name;
|
|
}
|