freeswitch: include configuration templates, enable parallel building
This commit is contained in:
parent
6d66795575
commit
ed41104a3b
@ -111,6 +111,8 @@ stdenv.mkDerivation rec {
|
|||||||
++ lib.unique (lib.concatMap (mod: mod.inputs) enabledModules)
|
++ lib.unique (lib.concatMap (mod: mod.inputs) enabledModules)
|
||||||
++ lib.optionals stdenv.isDarwin [ SystemConfiguration ];
|
++ lib.optionals stdenv.isDarwin [ SystemConfiguration ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-Wno-error";
|
NIX_CFLAGS_COMPILE = "-Wno-error";
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
@ -123,6 +125,8 @@ stdenv.mkDerivation rec {
|
|||||||
postInstall = ''
|
postInstall = ''
|
||||||
# helper for compiling modules... not generally useful; also pulls in perl dependency
|
# helper for compiling modules... not generally useful; also pulls in perl dependency
|
||||||
rm "$out"/bin/fsxs
|
rm "$out"/bin/fsxs
|
||||||
|
# include configuration templates
|
||||||
|
cp -r conf $out/share/freeswitch/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user