systemd: add withAnalyze flag

wip/yesman
Florian Klink 4 years ago
parent 987906aa58
commit 585f4a140b
  1. 2
      pkgs/os-specific/linux/systemd/default.nix
  2. 1
      pkgs/top-level/all-packages.nix

@ -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"

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

Loading…
Cancel
Save