brltty: remove asserts for optional features

Assertions can break overriding a package, see issue #73102.
This commit is contained in:
rnhmjoj 2021-03-01 18:04:07 +01:00
parent 6d1d1fc691
commit 6fc8d59b33
No known key found for this signature in database
GPG key ID: BFBAF4C975F76450

View file

@ -1,10 +1,8 @@
{ lib, stdenv, fetchurl, pkg-config, python3, bluez
, tcl, acl, kmod, coreutils, shadow
, alsaSupport ? stdenv.isLinux, alsaLib ? null
, systemdSupport ? stdenv.isLinux, systemd ? null }:
assert alsaSupport -> alsaLib != null;
assert systemdSupport -> systemd != null;
, alsaSupport ? stdenv.isLinux, alsaLib
, systemdSupport ? stdenv.isLinux, systemd
}:
stdenv.mkDerivation rec {
pname = "brltty";