mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
openra: Add python to bin PATH, fixing launcher
This commit is contained in:
parent
cfafd6f5a8
commit
05b90907a7
@ -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}" \
|
||||
|
Loading…
Reference in New Issue
Block a user