mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
Merge pull request #27192 from calvertvl/fix_leo-editor_no-hardcode-python
leo-editor: Don't hardcode pythonX.Ym
This commit is contained in:
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"
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user