systemd: enable elfutils support for stack traces in coredump

This commit is contained in:
Sandro Jäckel 2021-11-19 02:55:14 +01:00
parent 78d93d3698
commit 9c9dffbf7a
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -48,6 +48,7 @@
, bzip2
, pcre2
, e2fsprogs
, elfutils
, linuxHeaders ? stdenv.cc.libc.linuxHeaders
, gnu-efi
, iptables
@ -366,6 +367,7 @@ stdenv.mkDerivation {
++ lib.optional withApparmor libapparmor
++ lib.optional wantCurl (lib.getDev curl)
++ lib.optionals withCompression [ bzip2 lz4 xz zstd ]
++ lib.optional withCoredump elfutils
++ lib.optional withCryptsetup (lib.getDev cryptsetup.dev)
++ lib.optional withEfi gnu-efi
++ lib.optional withKexectools kexec-tools