systemd: add withAnalyze flag

This commit is contained in:
Florian Klink 2020-10-28 00:29:07 +01:00
parent 987906aa58
commit 585f4a140b
2 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,7 @@
, kexectools
, bashInteractive
, withAnalyze ? true
, withCoredump ? true
, withCompression ? true # adds bzip2, lz4 and xz
, withCryptsetup ? true
@ -211,6 +212,7 @@ stdenv.mkDerivation {
"-Dglib=${lib.boolToString (glib != null)}"
# while we do not run tests we should also not build them. Removes about 600 targets
"-Dtests=false"
"-Danalyze=${lib.boolToString withAnalyze}"
"-Dimportd=${lib.boolToString withImportd}"
"-Dlz4=${lib.boolToString withCompression}"
"-Dhomed=false"

View File

@ -18662,6 +18662,7 @@ in
};
systemdMinimal = systemd.override {
pname = "systemd-minimal";
withAnalyze = false;
withCompression = false;
withCoredump = false;
withCryptsetup = false;