diff --git a/pkgs/build-support/compress-drv/default.nix b/pkgs/build-support/compress-drv/default.nix index f5507cb3d3ed..e583eeb581a0 100644 --- a/pkgs/build-support/compress-drv/default.nix +++ b/pkgs/build-support/compress-drv/default.nix @@ -36,7 +36,7 @@ examples. */ drv: -{ formats, compressors, ... }: +{ formats, compressors }: let validProg = ext: prog: diff --git a/pkgs/build-support/compress-drv/web.nix b/pkgs/build-support/compress-drv/web.nix index 6ee15e87d13b..548db3245edf 100644 --- a/pkgs/build-support/compress-drv/web.nix +++ b/pkgs/build-support/compress-drv/web.nix @@ -95,7 +95,6 @@ drv: "gz" = "${zopfli}/bin/zopfli --keep {}"; "br" = "${brotli}/bin/brotli --keep --no-copy-stat {}"; }, - ... }: compressDrv drv { formats = formats ++ extraFormats;