nut: fix compile error

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

Installed and tested on x86_64-linux.
main
Jeff Hutchison 2 years ago
parent c552713c8a
commit 7e66d64ed5
No known key found for this signature in database
GPG Key ID: 26960A62CBEEC91D
  1. 2
      pkgs/applications/misc/nut/default.nix

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

Loading…
Cancel
Save