diff options
author | Jeff Hutchison <jeff@jeffhutchison.com> | 2022-04-25 16:52:06 -0400 |
---|---|---|
committer | Jeff Hutchison <jeff@jeffhutchison.com> | 2022-04-25 16:58:50 -0400 |
commit | 7e66d64ed57d3446d5fc33983e86cfa13c717ae9 (patch) | |
tree | 8459e14095f6de290162e2a713f0fdc7d40b8f28 /pkgs/applications/misc/nut | |
parent | c552713c8a03f31ad64f49ba1afa46d9b8788851 (diff) |
nut: fix compile error
Compile was failing with: ISO C++17 does not allow dynamic exception specifications Installed and tested on x86_64-linux.
Diffstat (limited to 'pkgs/applications/misc/nut')
-rw-r--r-- | pkgs/applications/misc/nut/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/misc/nut/default.nix b/pkgs/applications/misc/nut/default.nix index 41f46ff1c003d..e0e196ac14325 100644 --- a/pkgs/applications/misc/nut/default.nix +++ b/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" |