mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
systemd: add withApparmor option
This commit is contained in:
parent
065f057d0c
commit
93dcbbf69d
2 changed files with 3 additions and 1 deletions
|
@ -55,6 +55,7 @@
|
|||
, bashInteractive
|
||||
|
||||
, withAnalyze ? true
|
||||
, withApparmor ? true
|
||||
, withCoredump ? true
|
||||
, withCompression ? true # adds bzip2, lz4 and xz
|
||||
, withCryptsetup ? true
|
||||
|
@ -180,7 +181,6 @@ stdenv.mkDerivation {
|
|||
audit
|
||||
glib
|
||||
kmod
|
||||
libapparmor
|
||||
libcap
|
||||
libgcrypt
|
||||
libidn2
|
||||
|
@ -189,6 +189,7 @@ stdenv.mkDerivation {
|
|||
pam
|
||||
pcre2
|
||||
]
|
||||
++ lib.optional withApparmor libapparmor
|
||||
++ lib.optional wantCurl (lib.getDev curl)
|
||||
++ lib.optionals withCompression [ bzip2 lz4 xz ]
|
||||
++ lib.optional withCryptsetup (lib.getDev cryptsetup.dev)
|
||||
|
|
|
@ -18663,6 +18663,7 @@ in
|
|||
systemdMinimal = systemd.override {
|
||||
pname = "systemd-minimal";
|
||||
withAnalyze = false;
|
||||
withApparmor = false;
|
||||
withCompression = false;
|
||||
withCoredump = false;
|
||||
withCryptsetup = false;
|
||||
|
|
Loading…
Reference in a new issue