summary refs log tree commit diff
path: root/pkgs/os-specific/linux/systemd
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2020-10-28 00:29:07 +0100
committerFlorian Klink <flokli@flokli.de>2020-10-28 23:24:17 +0100
commit585f4a140b40959733903ab6fcba3ee2b5586af7 (patch)
treeb1182fc6ef50d1157452a54d5bc87bf562db7b7d /pkgs/os-specific/linux/systemd
parent987906aa5861a56437975fa8c09cb92f354de631 (diff)
downloadnixpkgs-585f4a140b40959733903ab6fcba3ee2b5586af7.tar
nixpkgs-585f4a140b40959733903ab6fcba3ee2b5586af7.tar.gz
nixpkgs-585f4a140b40959733903ab6fcba3ee2b5586af7.tar.bz2
nixpkgs-585f4a140b40959733903ab6fcba3ee2b5586af7.tar.lz
nixpkgs-585f4a140b40959733903ab6fcba3ee2b5586af7.tar.xz
nixpkgs-585f4a140b40959733903ab6fcba3ee2b5586af7.tar.zst
nixpkgs-585f4a140b40959733903ab6fcba3ee2b5586af7.zip
systemd: add withAnalyze flag
Diffstat (limited to 'pkgs/os-specific/linux/systemd')
-rw-r--r--pkgs/os-specific/linux/systemd/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix
index 7e2d457bcfa..e5d4e0e1402 100644
--- a/pkgs/os-specific/linux/systemd/default.nix
+++ b/pkgs/os-specific/linux/systemd/default.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"