nut: fix nut-scanner cross-compilation

When cross-compiling, libltdl is not found and that quietly disables
nut-scanner.
This commit is contained in:
Majiir Paktu 2023-09-02 20:19:03 -04:00
parent 3f9e803102
commit 81d20b3065

View File

@ -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"