git.iko.soy/typeable/nixpkgs
on master help sign in
teamspeak-client: fix stuck build
commit7ddc19ba8cb57c5941827e0bd40d4418fb6d8d2c authorFabian Möller <fabianm88@gmail.com> dateWed 25 Sep 2019, 21:36 (7 years ago) parent429644b
1 file changed+5−3
pkgs/applications/networking/instant-messengers/teamspeak/client.nix+5−3
pkgs/applications/networking/instant-messengers/teamspeak/client.nix+5−3
@@ -1,6 +1,6 @@
11{ stdenv, fetchurl, makeWrapper, makeDesktopItem, zlib, glib, libpng, freetype, openssl
22, xorg, fontconfig, qtbase, qtwebengine, qtwebchannel, qtsvg, xkeyboard_config, alsaLib
3−, libpulseaudio ? null, libredirect, quazip, less, which, unzip, llvmPackages
3+, libpulseaudio ? null, libredirect, quazip, which, unzip, llvmPackages, writeShellScriptBin
44}:
55
66let
@@ -26,6 +26,8 @@ let
2626 categories = "Network";
2727 };
2828
29+ fakeLess = writeShellScriptBin "less" "cat";
30+
2931in
3032
3133stdenv.mkDerivation rec {
@@ -46,11 +48,11 @@ stdenv.mkDerivation rec {
4648 sha256 = "1bywmdj54glzd0kffvr27r84n4dsd0pskkbmh59mllbxvj0qwy7f";
4749 };
4850
49− buildInputs = [ makeWrapper less which unzip ];
51+ nativeBuildInputs = [ makeWrapper fakeLess which unzip ];
5052
5153 unpackPhase =
5254 ''
53− echo -e 'q\ny' | sh -xe $src
55+ echo -e '\ny' | sh -xe $src
5456 cd TeamSpeak*
5557 '';
5658