scrcpy: make libusb1 an unconditional dependency

With the new OTG support for Darwin this is needed on there as well
This commit is contained in:
Harsh Shandilya 2022-02-23 11:10:48 +05:30
parent 368480a95b
commit 7974b85c83
No known key found for this signature in database
GPG Key ID: 366D7BBAD1031E80

View File

@ -38,9 +38,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper meson ninja pkg-config ];
buildInputs = [ ffmpeg SDL2 ] ++ lib.optionals stdenv.isLinux [
libusb1
];
buildInputs = [ ffmpeg SDL2 libusb1 ];
# Manually install the server jar to prevent Meson from "fixing" it
preConfigure = ''