3
0
Fork 0
forked from mirrors/nixpkgs

openra: Add python to bin PATH, fixing launcher

This commit is contained in:
Sarah Brofeldt 2017-11-06 18:18:19 +01:00
parent cfafd6f5a8
commit 05b90907a7

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}" \