Merge pull request #31324 from srhb/openra-python-binpath

openra: Add python to bin PATH, fixing launcher
This commit is contained in:
Frederik Rietdijk 2017-11-06 20:38:04 +01:00 committed by GitHub
commit 4a62ff9f47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, mono, makeWrapper, lua
, SDL2, freetype, openal, systemd, pkgconfig,
dotnetPackages, gnome3, curl, unzip, which
dotnetPackages, gnome3, curl, unzip, which, python
}:
stdenv.mkDerivation rec {
@ -60,7 +60,7 @@ stdenv.mkDerivation rec {
postInstall = with stdenv.lib; let
runtime = makeLibraryPath [ SDL2 freetype openal systemd lua ];
binaries= makeBinPath [ which mono gnome3.zenity ];
binaries= makeBinPath [ which mono gnome3.zenity python ];
in ''
wrapProgram $out/lib/openra/launch-game.sh \
--prefix PATH : "${binaries}" \