deal with libusb name change

This commit is contained in:
Artemis Tosini 2024-10-24 05:01:51 +00:00
parent 6d911ad15d
commit 76658c255c
Signed by: artemist
GPG key ID: ADFFE553DCBB831E
2 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@
buildGo122Module, buildGo122Module,
fetchFromGitHub, fetchFromGitHub,
unicorn, unicorn,
libusb, libusb1,
pkg-config, pkg-config,
}: }:
@ -23,7 +23,7 @@ buildGo122Module rec {
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ buildInputs = [
unicorn unicorn
libusb libusb1
]; ];
ldflags = [ ldflags = [
"-s" "-s"

View file

@ -6,7 +6,7 @@
fontconfig, fontconfig,
freetype, freetype,
libgcc, libgcc,
libusb, libusb1,
libICE, libICE,
libSM, libSM,
ncurses5, ncurses5,
@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
libXrandr libXrandr
libXrender libXrender
libgcc.lib libgcc.lib
libusb libusb1
ncurses5 ncurses5
udev udev
]; ];