From e5017770eb89ef432bb5880681347ca05c48d7d2 Mon Sep 17 00:00:00 2001 From: Atemu Date: Thu, 7 Nov 2024 07:50:25 +0100 Subject: [PATCH] teamspeak_client: run installer script without -x by default It's only relevant for debugging the package when updating. --- .../instant-messengers/teamspeak/client.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/teamspeak/client.nix b/pkgs/applications/networking/instant-messengers/teamspeak/client.nix index 6cd0b0a3e4a0..17643f0a4ee6 100644 --- a/pkgs/applications/networking/instant-messengers/teamspeak/client.nix +++ b/pkgs/applications/networking/instant-messengers/teamspeak/client.nix @@ -54,14 +54,19 @@ stdenv.mkDerivation rec { qtsvg ]); - # This just runs the installer script. If it gets stuck at something like + # This runs the installer script. If it gets stuck, run it with -x. + # If it then gets stuck at something like: + # # ++ exec # + PAGER_PATH= - # it's looking for a dependency and didn't find it. Check the script and make sure the dep is in nativeBuildInputs. + # + # it's looking for a dependency and didn't find it. Check the script and make + # sure the dep is in nativeBuildInputs. unpackPhase = '' runHook preUnpack - echo -e '\ny' | PAGER=cat sh -xe $src + # Run the installer script non-interactively + echo -e '\ny' | PAGER=cat sh -e $src mv TeamSpeak3-Client-linux_${arch}/* .