From bd4466d6d274d830cfc2d5efc931bf522f6b7fff Mon Sep 17 00:00:00 2001 From: mitchmindtree Date: Fri, 18 Apr 2025 12:32:02 +0100 Subject: [PATCH] puredata: fix pd-gui by providing tk path Prior to this commit, the `pd-gui` command fails to launch with: `pd-gui.tcl: line 3: exec: wish: not found` This is because we were only wrapping `pd` with the `tk` path, but not `pd-gui`. This also resulted in the puredata desktop shortcut failing, as it attempts to invoke `pd-gui` directly. This commit fixes these issues by also wrapping `pd-gui` with the `tk` path. --- pkgs/applications/audio/puredata/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/audio/puredata/default.nix b/pkgs/applications/audio/puredata/default.nix index 7f49c31fd38c..9f48ef0cb7df 100644 --- a/pkgs/applications/audio/puredata/default.nix +++ b/pkgs/applications/audio/puredata/default.nix @@ -62,6 +62,7 @@ stdenv.mkDerivation rec { postInstall = '' wrapProgram $out/bin/pd --prefix PATH : ${lib.makeBinPath [ tk ]} + wrapProgram $out/bin/pd-gui --prefix PATH : ${lib.makeBinPath [ tk ]} ''; meta = with lib; {