mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
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 changed files with 2 additions and 2 deletions
|
@ -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 a new issue