brltty: remove asserts for optional features
Assertions can break overriding a package, see issue #73102.
This commit is contained in:
@@ -1,10 +1,8 @@
|
|||||||
{ lib, stdenv, fetchurl, pkg-config, python3, bluez
|
{ lib, stdenv, fetchurl, pkg-config, python3, bluez
|
||||||
, tcl, acl, kmod, coreutils, shadow
|
, tcl, acl, kmod, coreutils, shadow
|
||||||
, alsaSupport ? stdenv.isLinux, alsaLib ? null
|
, alsaSupport ? stdenv.isLinux, alsaLib
|
||||||
, systemdSupport ? stdenv.isLinux, systemd ? null }:
|
, systemdSupport ? stdenv.isLinux, systemd
|
||||||
|
}:
|
||||||
assert alsaSupport -> alsaLib != null;
|
|
||||||
assert systemdSupport -> systemd != null;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "brltty";
|
pname = "brltty";
|
||||||
|
|||||||
Reference in New Issue
Block a user