From fd112231e8d80796d49dda41a33976054c932abd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Tue, 13 Feb 2024 22:41:41 +0200 Subject: [PATCH] compress-all: remove xz and zst --- pkgs/compress-all.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkgs/compress-all.nix b/pkgs/compress-all.nix index f3bd9d7..47a34de 100644 --- a/pkgs/compress-all.nix +++ b/pkgs/compress-all.nix @@ -47,7 +47,7 @@ For example, a caddy configuration snippet for gamja to serve the static assets (JS, CSS files) pre-compressed: virtualHosts."irc.example.org".extraConfig = '' - root * ${pkgs.compressAll pkgs.gamja} + root * ${pkgs.compressAll pkgs.gamja {}} file_server browse { precompressed br gzip } @@ -96,8 +96,6 @@ Inputs: xorg, zopfli, brotli, - xz, - zstd, }: drv: { formats ? ["css" "js" "svg" "ttf" "eot" "txt" "xml" "map" "html" "json" "webmanifest"], extraFormats ? [], @@ -108,8 +106,6 @@ Inputs: { compressor-gz = "${zopfli}/bin/zopfli --keep {}"; compressor-br = "${brotli}/bin/brotli --keep --no-copy-stat {}"; - compressor-xz = "${xz}/bin/xz --keep {}"; - compressor-zst = "${zstd}/bin/zstd --keep {}"; } // lib.filterAttrs (k: _: (lib.hasPrefix "compressor-" k)) args; compressCommands =