about summary refs log tree commit diff
path: root/pkgs/servers
diff options
context:
space:
mode:
authorSilvan Mosberger <contact@infinisil.com>2020-01-30 16:45:47 +0100
committerGitHub <noreply@github.com>2020-01-30 16:45:47 +0100
commit2118cddc82da367ef71b002f34b05a4c3e513a37 (patch)
treecdce020dc38ad9f12ad92a7e12a676a2b51e0d93 /pkgs/servers
parentb5da8e879cbbc850a9010b4b62355840ad08bdce (diff)
parent0a43e431ca85b4f8e6bdcb4c164e68e986930c2f (diff)
nixos/freeswitch: init (#76821)
nixos/freeswitch: init
Diffstat (limited to 'pkgs/servers')
-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 aeedf8b30aee4..f6791d0108831 100644
--- a/pkgs/servers/sip/freeswitch/default.nix
+++ b/pkgs/servers/sip/freeswitch/default.nix
@@ -111,6 +111,8 @@ stdenv.mkDerivation rec {
   ++ lib.unique (lib.concatMap (mod: mod.inputs) enabledModules)
   ++ lib.optionals stdenv.isDarwin [ SystemConfiguration ];
 
+  enableParallelBuilding = true;
+
   NIX_CFLAGS_COMPILE = "-Wno-error";
 
   hardeningDisable = [ "format" ];
@@ -123,6 +125,8 @@ stdenv.mkDerivation rec {
   postInstall = ''
     # helper for compiling modules... not generally useful; also pulls in perl dependency
     rm "$out"/bin/fsxs
+    # include configuration templates
+    cp -r conf $out/share/freeswitch/
   '';
 
   meta = {