Merge pull request #232228 from wegank/thonny-fix
thonny: fix runtime error
This commit is contained in:
commit
5b973b9f07
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchFromGitHub, python3, makeDesktopItem, copyDesktopItems }:
|
{ lib, fetchFromGitHub, python3, tk, makeDesktopItem, copyDesktopItems }:
|
||||||
|
|
||||||
with python3.pkgs;
|
with python3.pkgs;
|
||||||
|
|
||||||
|
@ -42,6 +42,7 @@ buildPythonApplication rec {
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
wrapProgram "$out/bin/thonny" \
|
wrapProgram "$out/bin/thonny" \
|
||||||
|
--set TK_LIBRARY "${tk}/lib/${tk.libPrefix}" \
|
||||||
--prefix PYTHONPATH : $PYTHONPATH:$(toPythonPath ${python3.pkgs.jedi})
|
--prefix PYTHONPATH : $PYTHONPATH:$(toPythonPath ${python3.pkgs.jedi})
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue