image_optim: remove useless nulls

main
Artturin 2 years ago
parent c07b5cd424
commit 49b62442e9
  1. 34
      pkgs/applications/graphics/image_optim/default.nix

@ -1,29 +1,17 @@
{ lib, bundlerApp, bundlerUpdateScript, makeWrapper, { lib, bundlerApp, bundlerUpdateScript, makeWrapper,
withPngcrush ? true, pngcrush ? null, withPngcrush ? true, pngcrush,
withPngout ? true, pngout ? null, withPngout ? true, pngout,
withAdvpng ? true, advancecomp ? null, withAdvpng ? true, advancecomp,
withOptipng ? true, optipng ? null, withOptipng ? true, optipng,
withPngquant ? true, pngquant ? null, withPngquant ? true, pngquant,
withJhead ? true, jhead ? null, withJhead ? true, jhead,
withJpegoptim ? true, jpegoptim ? null, withJpegoptim ? true, jpegoptim,
withJpegrecompress ? true, jpeg-archive ? null, withJpegrecompress ? true, jpeg-archive,
withJpegtran ? true, libjpeg ? null, withJpegtran ? true, libjpeg,
withGifsicle ? true, gifsicle ? null, withGifsicle ? true, gifsicle,
withSvgo ? true, svgo ? null withSvgo ? true, svgo
}: }:
assert withPngcrush -> pngcrush != null;
assert withPngout -> pngout != null;
assert withAdvpng -> advancecomp != null;
assert withOptipng -> optipng != null;
assert withPngquant -> pngquant != null;
assert withJhead -> jhead != null;
assert withJpegoptim -> jpegoptim != null;
assert withJpegrecompress -> jpeg-archive != null;
assert withJpegtran -> libjpeg != null;
assert withGifsicle -> gifsicle != null;
assert withSvgo -> svgo != null;
with lib; with lib;
let let

Loading…
Cancel
Save