From 25cdf9bd9eff816a52f97121ffd954f1699bf5f7 Mon Sep 17 00:00:00 2001 From: Artturin Date: Tue, 10 May 2022 00:37:43 +0300 Subject: [PATCH] libbluray: remove useless nulls --- pkgs/development/libraries/libbluray/default.nix | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/pkgs/development/libraries/libbluray/default.nix b/pkgs/development/libraries/libbluray/default.nix index 47015f3b981..8d8e64502d4 100644 --- a/pkgs/development/libraries/libbluray/default.nix +++ b/pkgs/development/libraries/libbluray/default.nix @@ -1,19 +1,13 @@ { lib, stdenv, fetchurl, pkg-config, fontconfig, autoreconfHook, DiskArbitration -, withJava ? false, jdk ? null, ant ? null -, withAACS ? false, libaacs ? null -, withBDplus ? false, libbdplus ? null -, withMetadata ? true, libxml2 ? null -, withFonts ? true, freetype ? null +, withJava ? false, jdk, ant +, withAACS ? false, libaacs +, withBDplus ? false, libbdplus +, withMetadata ? true, libxml2 +, withFonts ? true, freetype }: 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: # https://wiki.archlinux.org/index.php/BluRay