From a99c630c27626d5a15ef11634d1999af63a3bdb4 Mon Sep 17 00:00:00 2001 From: Dominik Honnef Date: Sat, 20 May 2023 15:47:37 +0200 Subject: [PATCH] nut: build with libusb 1.0 NUT 2.8.0 adds support for, and defaults to, libusb-1.0. --- pkgs/applications/misc/nut/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/nut/default.nix b/pkgs/applications/misc/nut/default.nix index 4243dd50b87c..275d6bd3d84b 100644 --- a/pkgs/applications/misc/nut/default.nix +++ b/pkgs/applications/misc/nut/default.nix @@ -9,7 +9,7 @@ , i2c-tools , libmodbus , libtool -, libusb-compat-0_1 +, libusb1 , makeWrapper , neon , net-snmp @@ -34,14 +34,14 @@ stdenv.mkDerivation rec { src = ./hardcode-paths.patch; avahi = "${avahi}/lib"; freeipmi = "${freeipmi}/lib"; - libusb = "${libusb-compat-0_1}/lib"; + libusb = "${libusb1}/lib"; neon = "${neon}/lib"; libmodbus = "${libmodbus}/lib"; netsnmp = "${net-snmp.lib}/lib"; }) ]; - buildInputs = [ neon libusb-compat-0_1 openssl udev avahi freeipmi libmodbus i2c-tools net-snmp gd ]; + buildInputs = [ neon libusb1 openssl udev avahi freeipmi libmodbus i2c-tools net-snmp gd ]; nativeBuildInputs = [ autoreconfHook libtool pkg-config makeWrapper ];