Unverified Commit bd4466d6 authored by mitchmindtree's avatar mitchmindtree
Browse files

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.
parent f1e64b53
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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; {