mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
28a76a96be
Systemd requires the recent CAP_SYSLOG capability.
17 lines
285 B
Nix
17 lines
285 B
Nix
{stdenv, libcap}:
|
|
|
|
assert stdenv.isLinux;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libcap-progs-${libcap.version}";
|
|
|
|
inherit (libcap) src makeFlags;
|
|
|
|
buildInputs = [ libcap ];
|
|
|
|
preConfigure = "cd progs";
|
|
|
|
installFlags = "RAISE_SETFCAP=no";
|
|
|
|
postInstall = libcap.postinst name;
|
|
}
|