mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-12 04:08:43 +00:00
Merge pull request #239852 from bobby285271/fix/sdrplay
sdrplay: avoid using alias libusb
This commit is contained in:
commit
a0ccb9355d
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, fetchurl, autoPatchelfHook, udev, libusb }:
|
{ stdenv, lib, fetchurl, autoPatchelfHook, udev, libusb1 }:
|
||||||
let
|
let
|
||||||
arch =
|
arch =
|
||||||
if stdenv.isx86_64 then "x86_64"
|
if stdenv.isx86_64 then "x86_64"
|
||||||
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ autoPatchelfHook ];
|
nativeBuildInputs = [ autoPatchelfHook ];
|
||||||
|
|
||||||
buildInputs = [ libusb udev stdenv.cc.cc.lib ];
|
buildInputs = [ libusb1 udev stdenv.cc.cc.lib ];
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
sh "$src" --noexec --target source
|
sh "$src" --noexec --target source
|
||||||
|
Loading…
Reference in New Issue
Block a user