From 1eccb75f266be2377731be9fc0682f5396241fb7 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Fri, 31 Mar 2017 23:11:16 +0300 Subject: [PATCH] mumble: patch python scripts --- pkgs/applications/networking/mumble/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/mumble/default.nix b/pkgs/applications/networking/mumble/default.nix index ce9d1ac34abf..adcfa656eb98 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" ];