Merge pull request #31324 from srhb/openra-python-binpath
openra: Add python to bin PATH, fixing launcher
This commit is contained in:
commit
4a62ff9f47
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitHub, mono, makeWrapper, lua
|
{ stdenv, fetchFromGitHub, mono, makeWrapper, lua
|
||||||
, SDL2, freetype, openal, systemd, pkgconfig,
|
, SDL2, freetype, openal, systemd, pkgconfig,
|
||||||
dotnetPackages, gnome3, curl, unzip, which
|
dotnetPackages, gnome3, curl, unzip, which, python
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -60,7 +60,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postInstall = with stdenv.lib; let
|
postInstall = with stdenv.lib; let
|
||||||
runtime = makeLibraryPath [ SDL2 freetype openal systemd lua ];
|
runtime = makeLibraryPath [ SDL2 freetype openal systemd lua ];
|
||||||
binaries= makeBinPath [ which mono gnome3.zenity ];
|
binaries= makeBinPath [ which mono gnome3.zenity python ];
|
||||||
in ''
|
in ''
|
||||||
wrapProgram $out/lib/openra/launch-game.sh \
|
wrapProgram $out/lib/openra/launch-game.sh \
|
||||||
--prefix PATH : "${binaries}" \
|
--prefix PATH : "${binaries}" \
|
||||||
|
Loading…
Reference in New Issue
Block a user