Unverified Commit 5b973b9f authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #232228 from wegank/thonny-fix

thonny: fix runtime error
parents ab4a501d 97530ed4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
{ 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})
  '';