diff --git a/pkgs/applications/editors/thonny/default.nix b/pkgs/applications/editors/thonny/default.nix index 73cd6139ba14..40ba0701ce71 100644 --- a/pkgs/applications/editors/thonny/default.nix +++ b/pkgs/applications/editors/thonny/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitHub, python3, makeDesktopItem, copyDesktopItems }: +{ lib, fetchFromGitHub, python3, tk, makeDesktopItem, copyDesktopItems }: with python3.pkgs; @@ -42,6 +42,7 @@ buildPythonApplication rec { preFixup = '' wrapProgram "$out/bin/thonny" \ + --set TK_LIBRARY "${tk}/lib/${tk.libPrefix}" \ --prefix PYTHONPATH : $PYTHONPATH:$(toPythonPath ${python3.pkgs.jedi}) '';