3
0
Fork 0
forked from mirrors/nixpkgs

nut: fix compile error

Compile was failing with: ISO C++17 does not allow dynamic exception specifications

Installed and tested on x86_64-linux.
This commit is contained in:
Jeff Hutchison 2022-04-25 16:52:06 -04:00
parent c552713c8a
commit 7e66d64ed5
No known key found for this signature in database
GPG key ID: 26960A62CBEEC91D

View file

@ -36,6 +36,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
NIX_CFLAGS_COMPILE = [ "-std=c++14" ];
postInstall = '' postInstall = ''
wrapProgram $out/bin/nut-scanner --prefix LD_LIBRARY_PATH : \ wrapProgram $out/bin/nut-scanner --prefix LD_LIBRARY_PATH : \
"$out/lib:${neon}/lib:${libusb-compat-0_1.out}/lib:${avahi}/lib:${freeipmi}/lib" "$out/lib:${neon}/lib:${libusb-compat-0_1.out}/lib:${avahi}/lib:${freeipmi}/lib"