summary refs log tree commit diff
path: root/pkgs/applications/networking/mumble
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2017-03-31 23:11:16 +0300
committerNikolay Amiantov <ab@fmap.me>2017-03-31 23:12:11 +0300
commit1eccb75f266be2377731be9fc0682f5396241fb7 (patch)
treeb4699e2a8a173803077df0af3888db966fae80cd /pkgs/applications/networking/mumble
parentd8c47a20b81fcab54a86b52be8cce484426002d8 (diff)
downloadnixpkgs-1eccb75f266be2377731be9fc0682f5396241fb7.tar
nixpkgs-1eccb75f266be2377731be9fc0682f5396241fb7.tar.gz
nixpkgs-1eccb75f266be2377731be9fc0682f5396241fb7.tar.bz2
nixpkgs-1eccb75f266be2377731be9fc0682f5396241fb7.tar.lz
nixpkgs-1eccb75f266be2377731be9fc0682f5396241fb7.tar.xz
nixpkgs-1eccb75f266be2377731be9fc0682f5396241fb7.tar.zst
nixpkgs-1eccb75f266be2377731be9fc0682f5396241fb7.zip
mumble: patch python scripts
Diffstat (limited to 'pkgs/applications/networking/mumble')
-rw-r--r--pkgs/applications/networking/mumble/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/networking/mumble/default.nix b/pkgs/applications/networking/mumble/default.nix
index ce9d1ac34ab..adcfa656eb9 100644
--- a/pkgs/applications/networking/mumble/default.nix
+++ b/pkgs/applications/networking/mumble/default.nix
@@ -1,6 +1,6 @@
 { stdenv, fetchurl, fetchgit, pkgconfig
 , qt4, qmake4Hook, qt5, avahi, boost, libopus, libsndfile, protobuf, speex, libcap
-, alsaLib
+, alsaLib, python
 , jackSupport ? false, libjack2 ? null
 , speechdSupport ? false, speechd ? null
 , pulseSupport ? false, libpulseaudio ? null
@@ -19,7 +19,7 @@ let
 
     patches = optional jackSupport ./mumble-jack-support.patch;
 
-    nativeBuildInputs = [ pkgconfig ]
+    nativeBuildInputs = [ pkgconfig python ]
       ++ { qt4 = [ qmake4Hook ]; qt5 = [ qt5.qmakeHook ]; }."qt${toString source.qtVersion}"
       ++ (overrides.nativeBuildInputs or [ ]);
     buildInputs = [ boost protobuf avahi ]
@@ -42,6 +42,7 @@ let
 
     preConfigure = ''
        qmakeFlags="$qmakeFlags DEFINES+=PLUGIN_PATH=$out/lib"
+       patchShebangs scripts
     '';
 
     makeFlags = [ "release" ];