Skip to content

Commit b01cce1

Browse files
committed
vintagestory: set mesa_glthread=true by default
1 parent 82542aa commit b01cce1

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

pkgs/by-name/vi/vintagestory/package.nix

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -77,21 +77,22 @@ stdenv.mkDerivation rec {
7777
runHook postInstall
7878
'';
7979

80-
preFixup =
81-
''
82-
makeWrapper ${dotnet-runtime_7}/bin/dotnet $out/bin/vintagestory \
83-
--prefix LD_LIBRARY_PATH : "${runtimeLibs}" \
84-
--add-flags $out/share/vintagestory/Vintagestory.dll
80+
preFixup = ''
81+
makeWrapper ${dotnet-runtime_7}/bin/dotnet $out/bin/vintagestory \
82+
--prefix LD_LIBRARY_PATH : "${runtimeLibs}" \
83+
--set-default mesa_glthread true \
84+
--add-flags $out/share/vintagestory/Vintagestory.dll
8585
86-
makeWrapper ${dotnet-runtime_7}/bin/dotnet $out/bin/vintagestory-server \
87-
--prefix LD_LIBRARY_PATH : "${runtimeLibs}" \
88-
--add-flags $out/share/vintagestory/VintagestoryServer.dll
86+
makeWrapper ${dotnet-runtime_7}/bin/dotnet $out/bin/vintagestory-server \
87+
--prefix LD_LIBRARY_PATH : "${runtimeLibs}" \
88+
--set-default mesa_glthread true \
89+
--add-flags $out/share/vintagestory/VintagestoryServer.dll
8990
90-
find "$out/share/vintagestory/assets/" -not -path "*/fonts/*" -regex ".*/.*[A-Z].*" | while read -r file; do
91-
local filename="$(basename -- "$file")"
92-
ln -sf "$filename" "''${file%/*}"/"''${filename,,}"
93-
done
94-
'';
91+
find "$out/share/vintagestory/assets/" -not -path "*/fonts/*" -regex ".*/.*[A-Z].*" | while read -r file; do
92+
local filename="$(basename -- "$file")"
93+
ln -sf "$filename" "''${file%/*}"/"''${filename,,}"
94+
done
95+
'';
9596

9697
meta = {
9798
description = "In-development indie sandbox game about innovation and exploration";

0 commit comments

Comments
 (0)