systemd: enable zstd compression support

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

View file

@ -40,6 +40,7 @@
, gnupg , gnupg
, zlib , zlib
, xz , xz
, zstd
, tpm2-tss , tpm2-tss
, libuuid , libuuid
, libapparmor , libapparmor
@ -67,7 +68,7 @@
, withAnalyze ? true , withAnalyze ? true
, withApparmor ? true , withApparmor ? true
, withCompression ? true # adds bzip2, lz4 and xz , withCompression ? true # adds bzip2, lz4, xz and zstd
, withCoredump ? true , withCoredump ? true
, withCryptsetup ? true , withCryptsetup ? true
, withDocumentation ? true , withDocumentation ? true
@ -364,7 +365,7 @@ stdenv.mkDerivation {
++ lib.optional withApparmor libapparmor ++ lib.optional withApparmor libapparmor
++ lib.optional wantCurl (lib.getDev curl) ++ lib.optional wantCurl (lib.getDev curl)
++ lib.optionals withCompression [ bzip2 lz4 xz ] ++ lib.optionals withCompression [ bzip2 lz4 xz zstd ]
++ lib.optional withCryptsetup (lib.getDev cryptsetup.dev) ++ lib.optional withCryptsetup (lib.getDev cryptsetup.dev)
++ lib.optional withEfi gnu-efi ++ lib.optional withEfi gnu-efi
++ lib.optional withKexectools kexec-tools ++ lib.optional withKexectools kexec-tools