brltty: remove asserts for optional features
Assertions can break overriding a package, see issue #73102.
This commit is contained in:
parent
6d1d1fc691
commit
6fc8d59b33
@ -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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user