From 81d20b3065dfe1228da115812653e352f61f36e3 Mon Sep 17 00:00:00 2001 From: Majiir Paktu Date: Sat, 2 Sep 2023 20:19:03 -0400 Subject: [PATCH] nut: fix nut-scanner cross-compilation When cross-compiling, libltdl is not found and that quietly disables nut-scanner. --- pkgs/applications/misc/nut/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/nut/default.nix b/pkgs/applications/misc/nut/default.nix index 275d6bd3d84b..49738a3284ee 100644 --- a/pkgs/applications/misc/nut/default.nix +++ b/pkgs/applications/misc/nut/default.nix @@ -41,9 +41,9 @@ stdenv.mkDerivation rec { }) ]; - buildInputs = [ neon libusb1 openssl udev avahi freeipmi libmodbus i2c-tools net-snmp gd ]; + buildInputs = [ neon libusb1 openssl udev avahi freeipmi libmodbus libtool i2c-tools net-snmp gd ]; - nativeBuildInputs = [ autoreconfHook libtool pkg-config makeWrapper ]; + nativeBuildInputs = [ autoreconfHook pkg-config makeWrapper ]; configureFlags = [ "--with-all"