mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
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:
parent
0a588ed459
commit
6b70cde244
@ -36,7 +36,7 @@
|
||||
examples.
|
||||
*/
|
||||
drv:
|
||||
{ formats, compressors, ... }:
|
||||
{ formats, compressors }:
|
||||
let
|
||||
validProg =
|
||||
ext: prog:
|
||||
|
@ -95,7 +95,6 @@ drv:
|
||||
"gz" = "${zopfli}/bin/zopfli --keep {}";
|
||||
"br" = "${brotli}/bin/brotli --keep --no-copy-stat {}";
|
||||
},
|
||||
...
|
||||
}:
|
||||
compressDrv drv {
|
||||
formats = formats ++ extraFormats;
|
||||
|
Loading…
Reference in New Issue
Block a user