3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #232228 from wegank/thonny-fix

thonny: fix runtime error
This commit is contained in:
Weijia Wang 2023-05-16 22:54:11 +03:00 committed by GitHub
commit 5b973b9f07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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})
'';