fix(nix): include libusb1 as a runtime dependency

Signed-off-by: seth <getchoo@tuta.io>
This commit is contained in:
seth 2023-09-19 13:45:12 -04:00
parent 10192c540b
commit 97ced1f459
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86

View File

@ -18,9 +18,11 @@
flite, flite,
mesa-demos, mesa-demos,
udev, udev,
libusb1,
msaClientID ? null, msaClientID ? null,
gamemodeSupport ? stdenv.isLinux, gamemodeSupport ? stdenv.isLinux,
textToSpeechSupport ? stdenv.isLinux, textToSpeechSupport ? stdenv.isLinux,
controllerSupport ? stdenv.isLinux,
jdks ? [jdk17 jdk8], jdks ? [jdk17 jdk8],
additionalLibs ? [], additionalLibs ? [],
additionalPrograms ? [], additionalPrograms ? [],
@ -71,6 +73,7 @@ in
] ]
++ lib.optional gamemodeSupport gamemode.lib ++ lib.optional gamemodeSupport gamemode.lib
++ lib.optional textToSpeechSupport flite ++ lib.optional textToSpeechSupport flite
++ lib.optional controllerSupport libusb1
++ additionalLibs; ++ additionalLibs;
runtimePrograms = runtimePrograms =