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:
parent
c552713c8a
commit
7e66d64ed5
|
@ -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…
Reference in a new issue