libbluray: remove useless nulls
This commit is contained in:
parent
fe7a2600ac
commit
25cdf9bd9e
|
@ -1,19 +1,13 @@
|
||||||
{ lib, stdenv, fetchurl, pkg-config, fontconfig, autoreconfHook, DiskArbitration
|
{ lib, stdenv, fetchurl, pkg-config, fontconfig, autoreconfHook, DiskArbitration
|
||||||
, withJava ? false, jdk ? null, ant ? null
|
, withJava ? false, jdk, ant
|
||||||
, withAACS ? false, libaacs ? null
|
, withAACS ? false, libaacs
|
||||||
, withBDplus ? false, libbdplus ? null
|
, withBDplus ? false, libbdplus
|
||||||
, withMetadata ? true, libxml2 ? null
|
, withMetadata ? true, libxml2
|
||||||
, withFonts ? true, freetype ? null
|
, withFonts ? true, freetype
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
assert withJava -> jdk != null && ant != null;
|
|
||||||
assert withAACS -> libaacs != null;
|
|
||||||
assert withBDplus -> libbdplus != null;
|
|
||||||
assert withMetadata -> libxml2 != null;
|
|
||||||
assert withFonts -> freetype != null;
|
|
||||||
|
|
||||||
# Info on how to use:
|
# Info on how to use:
|
||||||
# https://wiki.archlinux.org/index.php/BluRay
|
# https://wiki.archlinux.org/index.php/BluRay
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue