Merge pull request #27192 from calvertvl/fix_leo-editor_no-hardcode-python

leo-editor: Don't hardcode pythonX.Ym
This commit is contained in:
Frederik Rietdijk 2017-07-07 09:40:18 +02:00 committed by GitHub
commit e17054a57a

@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
mkdir -p $out/share/leo-editor
mv * $out/share/leo-editor
makeWrapper ${python3Packages.python}/bin/python3.5m $out/bin/leo \
makeWrapper ${python3Packages.python.interpreter} $out/bin/leo \
--set PYTHONPATH "$PYTHONPATH:$out/share/leo-editor" \
--add-flags "-O $out/share/leo-editor/launchLeo.py"
'';