mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Merge pull request #218064 from trofi/quake3-fix-wrapper
quake3demo: fix binary paths in the wrapper
This commit is contained in:
commit
97b81db662
1 changed files with 2 additions and 2 deletions
|
@ -20,11 +20,11 @@ in stdenv.mkDerivation {
|
|||
# We add Mesa to the end of $LD_LIBRARY_PATH to provide fallback
|
||||
# software rendering. GCC is needed so that libgcc_s.so can be found
|
||||
# when Mesa is used.
|
||||
makeWrapper ${env}/ioquake3.* $out/bin/quake3 \
|
||||
makeWrapper ${env}/bin/ioquake3.* $out/bin/quake3 \
|
||||
--suffix-each LD_LIBRARY_PATH ':' "${libPath}" \
|
||||
--add-flags "+set fs_basepath ${env} +set r_allowSoftwareGL 1"
|
||||
|
||||
makeWrapper ${env}/ioq3ded.* $out/bin/quake3-server \
|
||||
makeWrapper ${env}/bin/ioq3ded.* $out/bin/quake3-server \
|
||||
--add-flags "+set fs_basepath ${env}"
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue