mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
Merge pull request #146573 from SuperSandro2000/systemd-coredump-zstd
Systemd coredump zstd, enable elfutils support for stack traces in coredump
This commit is contained in:
commit
f4c450e862
@ -40,6 +40,7 @@
|
||||
, gnupg
|
||||
, zlib
|
||||
, xz
|
||||
, zstd
|
||||
, tpm2-tss
|
||||
, libuuid
|
||||
, libapparmor
|
||||
@ -47,6 +48,7 @@
|
||||
, bzip2
|
||||
, pcre2
|
||||
, e2fsprogs
|
||||
, elfutils
|
||||
, linuxHeaders ? stdenv.cc.libc.linuxHeaders
|
||||
, gnu-efi
|
||||
, iptables
|
||||
@ -67,7 +69,7 @@
|
||||
|
||||
, withAnalyze ? true
|
||||
, withApparmor ? true
|
||||
, withCompression ? true # adds bzip2, lz4 and xz
|
||||
, withCompression ? true # adds bzip2, lz4, xz and zstd
|
||||
, withCoredump ? true
|
||||
, withCryptsetup ? true
|
||||
, withDocumentation ? true
|
||||
@ -372,7 +374,8 @@ stdenv.mkDerivation {
|
||||
|
||||
++ lib.optional withApparmor libapparmor
|
||||
++ lib.optional wantCurl (lib.getDev curl)
|
||||
++ lib.optionals withCompression [ bzip2 lz4 xz ]
|
||||
++ 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
|
||||
|
Loading…
Reference in New Issue
Block a user