tachyon: remove nulls

This commit is contained in:
Artturin 2022-05-10 00:02:53 +03:00
parent b86571f4f5
commit 973a0ee2a3

View file

@ -1,16 +1,12 @@
{ lib, stdenv { lib, stdenv
, fetchurl , fetchurl
, Carbon ? null , Carbon
, libjpeg ? null , libjpeg
, libpng ? null , libpng
, withJpegSupport ? true # support jpeg output , withJpegSupport ? true # support jpeg output
, withPngSupport ? true # support png output , withPngSupport ? true # support png output
}: }:
assert withJpegSupport -> libjpeg != null;
assert withPngSupport -> libpng != null;
assert stdenv.isDarwin -> Carbon != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "tachyon"; pname = "tachyon";
version = "0.99.4"; version = "0.99.4";