From 258d76f551a81c9b9fd5256966c718a6d62b9e6c Mon Sep 17 00:00:00 2001 From: Julien Malka Date: Mon, 23 Oct 2023 16:46:12 +0200 Subject: [PATCH] systemd: add withLogTrace option --- pkgs/os-specific/linux/systemd/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index d96a6882d63c..d3bc6486e89b 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -142,6 +142,7 @@ , docbook_xsl , docbook_xml_dtd_42 , docbook_xml_dtd_45 +, withLogTrace ? false }: assert withImportd -> withCompression; @@ -558,6 +559,8 @@ stdenv.mkDerivation (finalAttrs: { ] ++ lib.optionals withKmod [ "-Dkmod=true" "-Dkmod-path=${kmod}/bin/kmod" + ] ++ lib.optionals withLogTrace [ + "-Dlog-trace=true" ]; preConfigure = let