brltty: move defaults to package file, use ALSA on Linux

This commit is contained in:
Jan Malakhovski
2019-02-13 23:10:56 +00:00
parent 9361acfff1
commit 578408aa16
2 changed files with 5 additions and 5 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
{ stdenv, fetchurl, pkgconfig, python3, alsaSupport, alsaLib ? null, bluez, systemdSupport, systemd ? null }:
{ stdenv, fetchurl, pkgconfig, python3, bluez
, alsaSupport ? stdenv.isLinux, alsaLib ? null
, systemdSupport ? stdenv.isLinux, systemd ? null }:
assert alsaSupport -> alsaLib != null;
assert systemdSupport -> systemd != null;