compressDrv: get rid of unneeded extra params

This is a leftover from the original versions of #292324. Reduces the
API surface to not accept accidental arguments.
This commit is contained in:
Motiejus Jakštys 2024-08-05 23:14:04 +03:00
parent 0a588ed459
commit 6b70cde244
2 changed files with 1 additions and 2 deletions

View File

@ -36,7 +36,7 @@
examples.
*/
drv:
{ formats, compressors, ... }:
{ formats, compressors }:
let
validProg =
ext: prog:

View File

@ -95,7 +95,6 @@ drv:
"gz" = "${zopfli}/bin/zopfli --keep {}";
"br" = "${brotli}/bin/brotli --keep --no-copy-stat {}";
},
...
}:
compressDrv drv {
formats = formats ++ extraFormats;