sdrplay: avoid using alias libusb

This commit is contained in:
Bobby Rong 2023-06-26 09:50:53 +08:00
parent 4137dbc273
commit db7f1ee574
No known key found for this signature in database

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, autoPatchelfHook, udev, libusb }:
{ stdenv, lib, fetchurl, autoPatchelfHook, udev, libusb1 }:
let
arch =
if stdenv.isx86_64 then "x86_64"
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoPatchelfHook ];
buildInputs = [ libusb udev stdenv.cc.cc.lib ];
buildInputs = [ libusb1 udev stdenv.cc.cc.lib ];
unpackPhase = ''
sh "$src" --noexec --target source