mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
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
|
||||
, 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";
|
||||
|
Loading…
Reference in New Issue
Block a user