mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
leo-editor: Don't hardcode pythonX.Ym
This commit is contained in:
parent
f834ce36a1
commit
3ff40547f0
|
@ -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 a new issue