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

View File

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