vintagestory: 1.20.12 -> 1.21.0-rc.7
This commit is contained in:
@@ -16,16 +16,16 @@
|
||||
libglvnd,
|
||||
pipewire,
|
||||
libpulseaudio,
|
||||
dotnet-runtime_7,
|
||||
dotnet-runtime_8,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vintagestory";
|
||||
version = "1.20.12";
|
||||
version = "1.21.0-rc.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://cdn.vintagestory.at/gamefiles/stable/vs_client_linux-x64_${version}.tar.gz";
|
||||
hash = "sha256-h6YXEZoVVV9IuKkgtK9Z3NTvJogVNHmXdAcKxwfvqcE=";
|
||||
url = "https://cdn.vintagestory.at/gamefiles/unstable/vs_client_linux-x64_${version}.tar.gz";
|
||||
hash = "sha256-uoQjsSzQQ/4JjhPCDp3VWV0NCQsM5lca7VKB8OnKtYA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -76,12 +76,12 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
makeWrapper ${dotnet-runtime_7}/bin/dotnet $out/bin/vintagestory \
|
||||
makeWrapper ${dotnet-runtime_8}/bin/dotnet $out/bin/vintagestory \
|
||||
--prefix LD_LIBRARY_PATH : "${runtimeLibs}" \
|
||||
--set-default mesa_glthread true \
|
||||
--add-flags $out/share/vintagestory/Vintagestory.dll
|
||||
|
||||
makeWrapper ${dotnet-runtime_7}/bin/dotnet $out/bin/vintagestory-server \
|
||||
makeWrapper ${dotnet-runtime_8}/bin/dotnet $out/bin/vintagestory-server \
|
||||
--prefix LD_LIBRARY_PATH : "${runtimeLibs}" \
|
||||
--set-default mesa_glthread true \
|
||||
--add-flags $out/share/vintagestory/VintagestoryServer.dll
|
||||
|
||||
Reference in New Issue
Block a user