Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e253fd1a95a4
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6195a47d2594
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Feb 1, 2019

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    6195a47 View commit details
Showing with 9 additions and 2 deletions.
  1. +9 −2 pkgs/servers/sip/freeswitch/default.nix
11 changes: 9 additions & 2 deletions pkgs/servers/sip/freeswitch/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{ fetchurl, stdenv, ncurses, curl, pkgconfig, gnutls, readline
{ fetchurl, stdenv, lib, ncurses, curl, pkgconfig, gnutls, readline
, openssl, perl, sqlite, libjpeg, speex, pcre
, ldns, libedit, yasm, which, lua, libopus, libsndfile

, postgresql
, enablePostgres ? true

, SystemConfiguration
}:

@@ -23,12 +26,16 @@ stdenv.mkDerivation rec {
openssl ncurses curl gnutls readline perl libjpeg
sqlite pcre speex ldns libedit yasm which lua libopus
libsndfile
] ++ stdenv.lib.optionals stdenv.isDarwin [ SystemConfiguration ];
]
++ lib.optionals enablePostgres [ postgresql ]
++ lib.optionals stdenv.isDarwin [ SystemConfiguration ];

NIX_CFLAGS_COMPILE = "-Wno-error";

hardeningDisable = [ "format" ];

configureFlags = lib.optionals enablePostgres [ "--enable-core-pgsql-support" ];

meta = {
description = "Cross-Platform Scalable FREE Multi-Protocol Soft Switch";
homepage = https://freeswitch.org/;