diff options
Diffstat (limited to 'packages/vintagestory')
| -rw-r--r-- | packages/vintagestory/default.nix | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/packages/vintagestory/default.nix b/packages/vintagestory/default.nix index 364cdc2..8df3a75 100644 --- a/packages/vintagestory/default.nix +++ b/packages/vintagestory/default.nix @@ -16,16 +16,18 @@ libglvnd, pipewire, libpulseaudio, - dotnet-runtime_7 + wayland, + libxkbcommon, + dotnet-runtime_8 }: stdenv.mkDerivation rec { name = "vintagestory-${version}"; - version = "1.20.11"; + version = "1.21.4"; src = fetchurl { url = "https://cdn.vintagestory.at/gamefiles/stable/vs_client_linux-x64_${version}.tar.gz"; - hash = "sha256-IOreg6j/jLhOK8jm2AgSnYQrql5R6QxsshvPs8OUcQA="; + hash = "sha256-npffJgxgUMefX9OiveNk1r4kVqsMaVCC1jcWaibz9l8="; }; nativeBuildInputs = [ @@ -33,7 +35,7 @@ stdenv.mkDerivation rec { copyDesktopItems ]; - buildInputs = [ dotnet-runtime_7 ]; + buildInputs = [ dotnet-runtime_8 ]; runtimeLibs = lib.makeLibraryPath ( [ @@ -47,6 +49,8 @@ stdenv.mkDerivation rec { libglvnd pipewire libpulseaudio + wayland + libxkbcommon ] ++ (with xorg; [ libX11 @@ -97,10 +101,10 @@ 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}" \ --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}" \ --add-flags $out/share/vintagestory/VintagestoryServer.dll '' |
