summaryrefslogtreecommitdiffstats
path: root/packages/vintagestory/default.nix
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2025-11-25 07:16:48 -0500
committerJon Santmyer <jon@jonsantmyer.com>2025-11-25 07:16:48 -0500
commit34a81b72d264acc99972e4a8e77be33e713486c8 (patch)
tree6fbf74f3558886d0d04feaf235580fa76ae26e8e /packages/vintagestory/default.nix
parent29e4d76f2169644939495e40ced0404667c50f17 (diff)
downloadnix-config-34a81b72d264acc99972e4a8e77be33e713486c8.tar.gz
nix-config-34a81b72d264acc99972e4a8e77be33e713486c8.tar.bz2
nix-config-34a81b72d264acc99972e4a8e77be33e713486c8.zip
use overlays instead of custom defined packages when possibleHEADmaster
Diffstat (limited to 'packages/vintagestory/default.nix')
-rw-r--r--packages/vintagestory/default.nix16
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
''