Skip to content

Commit

Permalink
systemd: enable zstd compression support
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Nov 19, 2021
1 parent 1b7dd40 commit 78d93d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/os-specific/linux/systemd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
, gnupg
, zlib
, xz
, zstd
, tpm2-tss
, libuuid
, libapparmor
Expand Down Expand Up @@ -67,7 +68,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
Expand Down Expand Up @@ -364,7 +365,7 @@ 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 withCryptsetup (lib.getDev cryptsetup.dev)
++ lib.optional withEfi gnu-efi
++ lib.optional withKexectools kexec-tools
Expand Down

0 comments on commit 78d93d3

Please sign in to comment.