about summary refs log tree commit diff
path: root/pkgs/servers/sip
diff options
context:
space:
mode:
authorJonas Heinrich <onny@project-insanity.org>2022-09-20 15:02:55 +0200
committerJonas Heinrich <onny@project-insanity.org>2022-09-20 16:03:24 +0200
commit58ba28355501849635bc5d41c11bc07f55a3f9ab (patch)
tree294a06484688239dcdb567a1a12247043fc27581 /pkgs/servers/sip
parent3128b2fc43e0b6d7fc65ea37b603501cb7f586b2 (diff)
freeswitch: Fix build error
Diffstat (limited to 'pkgs/servers/sip')
-rw-r--r--pkgs/servers/sip/freeswitch/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/servers/sip/freeswitch/default.nix b/pkgs/servers/sip/freeswitch/default.nix
index c6c594ecaec87..66c294f5d4a89 100644
--- a/pkgs/servers/sip/freeswitch/default.nix
+++ b/pkgs/servers/sip/freeswitch/default.nix
@@ -125,6 +125,10 @@ stdenv.mkDerivation rec {
 
   NIX_CFLAGS_COMPILE = "-Wno-error";
 
+  # Using c++14 because of build error
+  # gsm_at.h:94:32: error: ISO C++17 does not allow dynamic exception specifications
+  CXXFLAGS = "-std=c++14";
+
   CFLAGS = "-D_ANSI_SOURCE";
 
   hardeningDisable = [ "format" ];