Unverified Commit fcefb0a1 authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

Merge pull request #332558 from motiejus/compressDrv

compressDrv: get rid of unneeded extra params
parents 1e6e7faa 6b70cde2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@
  :::
*/
drv:
{ formats, compressors, ... }:
{ formats, compressors }:
let
  validProg =
    ext: prog:
+0 −1
Original line number Diff line number Diff line
@@ -124,7 +124,6 @@ drv:
    "gz" = "${zopfli}/bin/zopfli --keep {}";
    "br" = "${brotli}/bin/brotli --keep --no-copy-stat {}";
  },
  ...
}:
compressDrv drv {
  formats = formats ++ extraFormats;