Merge pull request #262939 from tfc/fix-quake3

quake3-wrapper: Fix paths
This commit is contained in:
Pol Dellaiera 2023-10-23 17:27:42 +02:00 committed by GitHub
commit bf8e5e0313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}/bin/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}/bin/ioq3ded.* $out/bin/quake3-server \
makeWrapper ${env}/bin/ioq3ded* $out/bin/quake3-server \
--add-flags "+set fs_basepath ${env}"
'';