Merge pull request #239852 from bobby285271/fix/sdrplay

sdrplay: avoid using alias libusb
This commit is contained in:
Bobby Rong 2023-06-26 09:55:47 +08:00 committed by GitHub
commit a0ccb9355d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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