about summary refs log tree commit diff
path: root/pkgs/applications/networking/mumble/default.nix
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2015-07-31 13:41:43 +0300
committerNikolay Amiantov <ab@fmap.me>2015-07-31 13:41:43 +0300
commit47bb91194b251f54cf3ad48e62a828cfc4530d1c (patch)
tree849ba4855243edba9cb8a744035157dfb43f9193 /pkgs/applications/networking/mumble/default.nix
parent79301503665b29d2ab7d2d62d6dabd72bb40d74d (diff)
mumble: use our celt library
Diffstat (limited to 'pkgs/applications/networking/mumble/default.nix')
-rw-r--r--pkgs/applications/networking/mumble/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/applications/networking/mumble/default.nix b/pkgs/applications/networking/mumble/default.nix
index aececbb6130b6..afe27eb381498 100644
--- a/pkgs/applications/networking/mumble/default.nix
+++ b/pkgs/applications/networking/mumble/default.nix
@@ -1,5 +1,5 @@
 { stdenv, fetchurl, pkgconfig
-, avahi, boost, libopus, libsndfile, protobuf, qt4, speex
+, avahi, boost, libopus, celt, libsndfile, protobuf, qt4, speex
 , jackSupport ? false, libjack2 ? null
 , speechdSupport ? false, speechd ? null
 , pulseSupport ? false, libpulseaudio ? null
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
     "CONFIG+=no-update"
     "CONFIG+=no-server"
     "CONFIG+=no-embed-qt-translations"
-    "CONFIG+=bundled-celt"
+    "CONFIG+=no-bundled-celt"
     "CONFIG+=no-bundled-opus"
     "CONFIG+=no-bundled-speex"
   ] ++ optional (!speechdSupport) "CONFIG+=no-speechd"
@@ -43,7 +43,9 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ pkgconfig ];
 
-  buildInputs = [ avahi boost libopus libsndfile protobuf qt4 speex ]
+  NIX_CFLAGS_COMPILE = [ "-I${celt}/include/celt" ];
+
+  buildInputs = [ avahi boost libopus celt libsndfile protobuf qt4 speex ]
     ++ optional jackSupport libjack2
     ++ optional speechdSupport speechd
     ++ optional pulseSupport libpulseaudio;