about summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/7kaa/default.nix2
-rw-r--r--pkgs/games/abuse/default.nix2
-rw-r--r--pkgs/games/anki/bin.nix4
-rw-r--r--pkgs/games/anki/default.nix10
-rw-r--r--pkgs/games/anki/sync-server.nix2
-rw-r--r--pkgs/games/arx-libertatis/default.nix4
-rw-r--r--pkgs/games/augustus/default.nix6
-rw-r--r--pkgs/games/blightmud/default.nix8
-rw-r--r--pkgs/games/bzflag/default.nix2
-rw-r--r--pkgs/games/cataclysm-dda/common.nix8
-rw-r--r--pkgs/games/cdogs-sdl/default.nix2
-rw-r--r--pkgs/games/chiaki/default.nix4
-rw-r--r--pkgs/games/corsix-th/default.nix6
-rw-r--r--pkgs/games/crawl/default.nix2
-rw-r--r--pkgs/games/cutemaze/default.nix4
-rw-r--r--pkgs/games/ddnet/default.nix6
-rw-r--r--pkgs/games/devilutionx/default.nix2
-rw-r--r--pkgs/games/doom-ports/doomseeker/default.nix2
-rw-r--r--pkgs/games/doom-ports/odamex/default.nix2
-rw-r--r--pkgs/games/doom-ports/zandronum/fmod.nix6
-rw-r--r--pkgs/games/dwarf-fortress/default.nix6
-rw-r--r--pkgs/games/dwarf-fortress/dwarf-therapist/default.nix2
-rw-r--r--pkgs/games/dwarf-fortress/game.nix10
-rw-r--r--pkgs/games/dwarf-fortress/lazy-pack.nix2
-rw-r--r--pkgs/games/dwarf-fortress/wrapper/default.nix4
-rw-r--r--pkgs/games/ecwolf/default.nix8
-rw-r--r--pkgs/games/eduke32/default.nix10
-rw-r--r--pkgs/games/ferium/default.nix2
-rw-r--r--pkgs/games/fheroes2/default.nix2
-rw-r--r--pkgs/games/flare/engine.nix2
-rw-r--r--pkgs/games/freeciv/default.nix2
-rw-r--r--pkgs/games/freedroid/default.nix2
-rw-r--r--pkgs/games/freedroidrpg/default.nix2
-rw-r--r--pkgs/games/freenukum/default.nix2
-rw-r--r--pkgs/games/gargoyle/default.nix10
-rw-r--r--pkgs/games/gemrb/default.nix2
-rw-r--r--pkgs/games/gmad/default.nix4
-rw-r--r--pkgs/games/gtypist/default.nix2
-rw-r--r--pkgs/games/hedgewars/default.nix2
-rw-r--r--pkgs/games/heroic/default.nix35
-rw-r--r--pkgs/games/heroic/fhsenv.nix246
-rw-r--r--pkgs/games/hheretic/default.nix2
-rw-r--r--pkgs/games/hhexen/default.nix2
-rw-r--r--pkgs/games/hmcl/default.nix2
-rw-r--r--pkgs/games/ja2-stracciatella/default.nix2
-rw-r--r--pkgs/games/jfsw/default.nix2
-rw-r--r--pkgs/games/julius/default.nix6
-rw-r--r--pkgs/games/jumpy/default.nix6
-rw-r--r--pkgs/games/klavaro/default.nix2
-rw-r--r--pkgs/games/ldmud/default.nix2
-rw-r--r--pkgs/games/libremines/default.nix2
-rw-r--r--pkgs/games/lincity/default.nix2
-rw-r--r--pkgs/games/liquidwar/5.nix2
-rw-r--r--pkgs/games/manaplus/default.nix2
-rw-r--r--pkgs/games/mchprs/default.nix2
-rw-r--r--pkgs/games/mindustry/default.nix4
-rw-r--r--pkgs/games/minecraft-servers/derivation.nix2
-rw-r--r--pkgs/games/minetest/default.nix6
-rw-r--r--pkgs/games/mudlet/default.nix6
-rw-r--r--pkgs/games/npush/default.nix2
-rw-r--r--pkgs/games/opendungeons/default.nix2
-rw-r--r--pkgs/games/openmw/default.nix8
-rw-r--r--pkgs/games/openrw/default.nix2
-rw-r--r--pkgs/games/openspades/default.nix2
-rw-r--r--pkgs/games/osu-lazer/bin.nix2
-rw-r--r--pkgs/games/papermc/derivation.nix2
-rw-r--r--pkgs/games/papermc/versions.json8
-rw-r--r--pkgs/games/path-of-building/default.nix4
-rw-r--r--pkgs/games/powermanga/default.nix2
-rw-r--r--pkgs/games/quake2/yquake2/default.nix4
-rw-r--r--pkgs/games/quakespasm/default.nix12
-rw-r--r--pkgs/games/quakespasm/vulkan.nix6
-rw-r--r--pkgs/games/quantumminigolf/default.nix2
-rw-r--r--pkgs/games/randtype/default.nix2
-rw-r--r--pkgs/games/raylib-games/default.nix2
-rw-r--r--pkgs/games/rpg-cli/default.nix6
-rw-r--r--pkgs/games/scummvm/default.nix6
-rw-r--r--pkgs/games/shattered-pixel-dungeon/rat-king-adventure/default.nix4
-rw-r--r--pkgs/games/shattered-pixel-dungeon/rat-king-adventure/deps.json308
-rw-r--r--pkgs/games/shattered-pixel-dungeon/shorter-pixel-dungeon/default.nix4
-rw-r--r--pkgs/games/shipwright/default.nix20
-rw-r--r--pkgs/games/simutrans/default.nix4
-rw-r--r--pkgs/games/sm64ex/generic.nix2
-rw-r--r--pkgs/games/snipes/default.nix2
-rw-r--r--pkgs/games/space-cadet-pinball/default.nix4
-rw-r--r--pkgs/games/space-orbit/default.nix2
-rw-r--r--pkgs/games/space-station-14-launcher/space-station-14-launcher.nix4
-rw-r--r--pkgs/games/steam/fhsenv.nix2
-rw-r--r--pkgs/games/stockfish/default.nix10
-rw-r--r--pkgs/games/system-syzygy/default.nix2
-rw-r--r--pkgs/games/taisei/default.nix2
-rw-r--r--pkgs/games/tecnoballz/default.nix2
-rw-r--r--pkgs/games/teeworlds/default.nix10
-rw-r--r--pkgs/games/tuxpaint/default.nix8
-rw-r--r--pkgs/games/uhexen2/default.nix2
-rw-r--r--pkgs/games/vessel/default.nix2
-rw-r--r--pkgs/games/voxelands/default.nix2
-rw-r--r--pkgs/games/warsow/engine.nix2
-rw-r--r--pkgs/games/warzone2100/default.nix6
-rw-r--r--pkgs/games/wesnoth/default.nix4
-rw-r--r--pkgs/games/widelands/default.nix6
-rw-r--r--pkgs/games/zaz/default.nix2
102 files changed, 510 insertions, 475 deletions
diff --git a/pkgs/games/7kaa/default.nix b/pkgs/games/7kaa/default.nix
index e28eca772aa94..2dd4d67221536 100644
--- a/pkgs/games/7kaa/default.nix
+++ b/pkgs/games/7kaa/default.nix
@@ -54,7 +54,7 @@ gccStdenv.mkDerivation (finalAttrs: {
     autoupdate
   '';
 
-  hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ];
+  hardeningDisable = lib.optionals (stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isDarwin) [ "stackprotector" ];
 
   postInstall = ''
     mkdir $out/share/7kaa/MUSIC
diff --git a/pkgs/games/abuse/default.nix b/pkgs/games/abuse/default.nix
index cd3587a244e0b..6b46e61aaf1a2 100644
--- a/pkgs/games/abuse/default.nix
+++ b/pkgs/games/abuse/default.nix
@@ -59,6 +59,6 @@ stdenv.mkDerivation (finalAttrs: {
     # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648272
     maintainers = with lib.maintainers; [ iblech ];
     platforms   = lib.platforms.unix;
-    broken      = stdenv.isDarwin;
+    broken      = stdenv.hostPlatform.isDarwin;
   };
 })
diff --git a/pkgs/games/anki/bin.nix b/pkgs/games/anki/bin.nix
index a75cc801257ef..8daf97caf56b8 100644
--- a/pkgs/games/anki/bin.nix
+++ b/pkgs/games/anki/bin.nix
@@ -115,13 +115,13 @@ let
   );
 in
 
-if stdenv.isLinux then
+if stdenv.hostPlatform.isLinux then
   fhsEnvAnki
 else
   stdenv.mkDerivation {
     inherit pname version passthru;
 
-    src = if stdenv.isAarch64 then sources.darwin-aarch64 else sources.darwin-x86_64;
+    src = if stdenv.hostPlatform.isAarch64 then sources.darwin-aarch64 else sources.darwin-x86_64;
 
     nativeBuildInputs = [ undmg ];
     sourceRoot = ".";
diff --git a/pkgs/games/anki/default.nix b/pkgs/games/anki/default.nix
index 76c23365f400e..d9a4984d3d794 100644
--- a/pkgs/games/anki/default.nix
+++ b/pkgs/games/anki/default.nix
@@ -152,12 +152,12 @@ python3.pkgs.buildPythonApplication {
     qt6.wrapQtAppsHook
     rsync
     rustPlatform.cargoSetupHook
-  ] ++ lib.optional stdenv.isDarwin swift;
+  ] ++ lib.optional stdenv.hostPlatform.isDarwin swift;
 
   buildInputs = [
     qt6.qtbase
     qt6.qtsvg
-  ] ++ lib.optional stdenv.isLinux qt6.qtwayland;
+  ] ++ lib.optional stdenv.hostPlatform.isLinux qt6.qtwayland;
 
   propagatedBuildInputs =
     with python3.pkgs;
@@ -213,7 +213,7 @@ python3.pkgs.buildPythonApplication {
       wrapt
       zipp
     ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       AVKit
       CoreAudio
     ];
@@ -226,7 +226,7 @@ python3.pkgs.buildPythonApplication {
 
   # tests fail with to many open files
   # TODO: verify if this is still true (I can't, no mac)
-  doCheck = !stdenv.isDarwin;
+  doCheck = !stdenv.hostPlatform.isDarwin;
 
   checkFlags = [
     # these two tests are flaky, see https://github.com/ankitects/anki/issues/3353
@@ -344,6 +344,6 @@ python3.pkgs.buildPythonApplication {
       oxij
     ];
     # Reported to crash at launch on darwin (as of 2.1.65)
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
   };
 }
diff --git a/pkgs/games/anki/sync-server.nix b/pkgs/games/anki/sync-server.nix
index 8dc73e405afde..0b351ae3ffade 100644
--- a/pkgs/games/anki/sync-server.nix
+++ b/pkgs/games/anki/sync-server.nix
@@ -34,7 +34,7 @@ rustPlatform.buildRustPackage {
 
   buildInputs = [
     openssl
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.Security
     darwin.apple_sdk.frameworks.SystemConfiguration
   ];
diff --git a/pkgs/games/arx-libertatis/default.nix b/pkgs/games/arx-libertatis/default.nix
index 334219a289012..9dbe2ce7a7dfc 100644
--- a/pkgs/games/arx-libertatis/default.nix
+++ b/pkgs/games/arx-libertatis/default.nix
@@ -1,7 +1,7 @@
 { lib, stdenv, fetchFromGitHub, cmake, zlib, boost
 , openal, glm, freetype, libGLU, SDL2, libepoxy
 , dejavu_fonts, inkscape, optipng, imagemagick
-, withCrashReporter ? !stdenv.isDarwin
+, withCrashReporter ? !stdenv.hostPlatform.isDarwin
 ,   qtbase ? null
 ,   wrapQtAppsHook ? null
 ,   curl ? null
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
     zlib boost openal glm
     freetype libGLU SDL2 libepoxy
   ] ++ optionals withCrashReporter [ qtbase curl ]
-    ++ optionals stdenv.isLinux    [ gdb ];
+    ++ optionals stdenv.hostPlatform.isLinux    [ gdb ];
 
   cmakeFlags = [
     "-DDATA_DIR_PREFIXES=$out/share"
diff --git a/pkgs/games/augustus/default.nix b/pkgs/games/augustus/default.nix
index bf360d2dcb944..5b94777dea69e 100644
--- a/pkgs/games/augustus/default.nix
+++ b/pkgs/games/augustus/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs =
     [ cmake ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       darwin.sigtool
       libicns
       imagemagick
@@ -36,9 +36,9 @@ stdenv.mkDerivation rec {
     SDL2
     SDL2_mixer
     libpng
-  ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ];
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ];
 
-  installPhase = lib.optionalString stdenv.isDarwin ''
+  installPhase = lib.optionalString stdenv.hostPlatform.isDarwin ''
     runHook preInstall
     mkdir -p $out/Applications
     cp -r augustus.app $out/Applications/
diff --git a/pkgs/games/blightmud/default.nix b/pkgs/games/blightmud/default.nix
index ee69fc697b312..b5ebd8c279ee4 100644
--- a/pkgs/games/blightmud/default.nix
+++ b/pkgs/games/blightmud/default.nix
@@ -31,10 +31,10 @@ rustPlatform.buildRustPackage rec {
   nativeBuildInputs = [ pkg-config rustPlatform.bindgenHook ];
 
   buildInputs = [ openssl ]
-    ++ lib.optionals (withTTS && stdenv.isLinux) [ speechd-minimal ]
-    ++ lib.optionals stdenv.isLinux [ alsa-lib ]
-    ++ lib.optionals (withTTS && stdenv.isDarwin) [ AVFoundation AppKit ]
-    ++ lib.optionals stdenv.isDarwin [ CoreAudio AudioUnit ];
+    ++ lib.optionals (withTTS && stdenv.hostPlatform.isLinux) [ speechd-minimal ]
+    ++ lib.optionals stdenv.hostPlatform.isLinux [ alsa-lib ]
+    ++ lib.optionals (withTTS && stdenv.hostPlatform.isDarwin) [ AVFoundation AppKit ]
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ CoreAudio AudioUnit ];
 
   checkFlags =
     let
diff --git a/pkgs/games/bzflag/default.nix b/pkgs/games/bzflag/default.nix
index 400fa33e68625..9b20252feffa7 100644
--- a/pkgs/games/bzflag/default.nix
+++ b/pkgs/games/bzflag/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ pkg-config ];
   buildInputs = [ curl SDL2 libGLU libGL glew ncurses c-ares ]
-    ++ lib.optionals stdenv.isDarwin [ Carbon CoreServices ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ Carbon CoreServices ];
 
   meta = with lib; {
     description = "Multiplayer 3D Tank game";
diff --git a/pkgs/games/cataclysm-dda/common.nix b/pkgs/games/cataclysm-dda/common.nix
index f18d2cc37550e..268f5d5256d28 100644
--- a/pkgs/games/cataclysm-dda/common.nix
+++ b/pkgs/games/cataclysm-dda/common.nix
@@ -8,10 +8,10 @@ let
   inherit (lib) optionals optionalString;
 
   cursesDeps = [ gettext ncurses ]
-    ++ optionals stdenv.isDarwin [ CoreFoundation ];
+    ++ optionals stdenv.hostPlatform.isDarwin [ CoreFoundation ];
 
   tilesDeps = [ SDL2 SDL2_image SDL2_mixer SDL2_ttf freetype ]
-    ++ optionals stdenv.isDarwin [ Cocoa ];
+    ++ optionals stdenv.hostPlatform.isDarwin [ Cocoa ];
 
   patchDesktopFile = ''
     substituteInPlace $out/share/applications/org.cataclysmdda.CataclysmDDA.desktop \
@@ -50,14 +50,14 @@ stdenv.mkDerivation {
     "RELEASE=1"
   ] ++ optionals tiles [
     "TILES=1" "SOUND=1"
-  ] ++ optionals stdenv.isDarwin [
+  ] ++ optionals stdenv.hostPlatform.isDarwin [
     "NATIVE=osx"
     "CLANG=1"
     "OSX_MIN=${stdenv.hostPlatform.darwinMinVersion}"
   ];
 
   postInstall = optionalString tiles
-  ( if !stdenv.isDarwin
+  ( if !stdenv.hostPlatform.isDarwin
     then patchDesktopFile
     else installMacOSAppLauncher
   );
diff --git a/pkgs/games/cdogs-sdl/default.nix b/pkgs/games/cdogs-sdl/default.nix
index 492a4216df411..7909bc476e7e4 100644
--- a/pkgs/games/cdogs-sdl/default.nix
+++ b/pkgs/games/cdogs-sdl/default.nix
@@ -59,6 +59,6 @@ stdenv.mkDerivation rec {
     license = licenses.gpl2Only;
     maintainers = with maintainers; [ nixinator ];
     platforms = platforms.unix;
-    broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/cdogs-sdl.x86_64-darwin
+    broken = stdenv.hostPlatform.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/cdogs-sdl.x86_64-darwin
   };
 }
diff --git a/pkgs/games/chiaki/default.nix b/pkgs/games/chiaki/default.nix
index ed1867aeffc16..6ff93f4d47e5d 100644
--- a/pkgs/games/chiaki/default.nix
+++ b/pkgs/games/chiaki/default.nix
@@ -44,10 +44,10 @@ mkDerivation rec {
     qtsvg
     protobuf
     SDL2
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     libevdev
     udev
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     qtmacextras
   ];
 
diff --git a/pkgs/games/corsix-th/default.nix b/pkgs/games/corsix-th/default.nix
index f55a9a20b3281..8e393904b920c 100644
--- a/pkgs/games/corsix-th/default.nix
+++ b/pkgs/games/corsix-th/default.nix
@@ -45,7 +45,7 @@ stdenv.mkDerivation(finalAttrs: {
     SDL2
     SDL2_mixer
     timidity
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     libiconv
     Cocoa
     CoreVideo
@@ -53,11 +53,11 @@ stdenv.mkDerivation(finalAttrs: {
 
   cmakeFlags = [ "-Wno-dev" ];
 
-  postInstall = lib.optionalString stdenv.isLinux ''
+  postInstall = lib.optionalString stdenv.hostPlatform.isLinux ''
     wrapProgram $out/bin/corsix-th \
     --set LUA_PATH "$LUA_PATH" \
     --set LUA_CPATH "$LUA_CPATH"
-  '' + lib.optionalString stdenv.isDarwin ''
+  '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
     mkdir -p $out/Applications
     mv $out/CorsixTH.app $out/Applications
     wrapProgram $out/Applications/CorsixTH.app/Contents/MacOS/CorsixTH \
diff --git a/pkgs/games/crawl/default.nix b/pkgs/games/crawl/default.nix
index 9fb11b07be6f0..ba764d1a6a373 100644
--- a/pkgs/games/crawl/default.nix
+++ b/pkgs/games/crawl/default.nix
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
     ++ (with python3.pkgs; [ pyyaml ])
     ++ lib.optionals tileMode [ libpng SDL2 SDL2_image freetype libGLU libGL ]
     ++ lib.optional enableSound SDL2_mixer
-    ++ (lib.optionals stdenv.isDarwin (
+    ++ (lib.optionals stdenv.hostPlatform.isDarwin (
     with darwin.apple_sdk.frameworks; [
       AppKit
       AudioUnit
diff --git a/pkgs/games/cutemaze/default.nix b/pkgs/games/cutemaze/default.nix
index 658511b02dad7..2a1f194f5c0dd 100644
--- a/pkgs/games/cutemaze/default.nix
+++ b/pkgs/games/cutemaze/default.nix
@@ -27,11 +27,11 @@ stdenv.mkDerivation rec {
   buildInputs = [
     qtbase
     qtsvg
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     qtwayland
   ];
 
-  installPhase = if stdenv.isDarwin then ''
+  installPhase = if stdenv.hostPlatform.isDarwin then ''
     runHook preInstall
 
     mkdir -p $out/Applications
diff --git a/pkgs/games/ddnet/default.nix b/pkgs/games/ddnet/default.nix
index 7356e9395d766..baeabd63ebe4d 100644
--- a/pkgs/games/ddnet/default.nix
+++ b/pkgs/games/ddnet/default.nix
@@ -83,9 +83,9 @@ stdenv.mkDerivation rec {
     vulkan-headers
     glslang
     spirv-tools
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     libX11
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     Carbon
     Cocoa
     OpenGL
@@ -110,7 +110,7 @@ stdenv.mkDerivation rec {
   ];
 
   # Tests loop forever on Darwin for some reason
-  doCheck = !stdenv.isDarwin;
+  doCheck = !stdenv.hostPlatform.isDarwin;
   checkTarget = "run_tests";
 
   postInstall = lib.optionalString (!buildClient) ''
diff --git a/pkgs/games/devilutionx/default.nix b/pkgs/games/devilutionx/default.nix
index e26a77e57a098..c8d2102728b22 100644
--- a/pkgs/games/devilutionx/default.nix
+++ b/pkgs/games/devilutionx/default.nix
@@ -106,7 +106,7 @@ stdenv.mkDerivation rec {
   installPhase = ''
     runHook preInstall
 
-  '' + (if stdenv.isDarwin then ''
+  '' + (if stdenv.hostPlatform.isDarwin then ''
     mkdir -p $out/Applications
     mv devilutionx.app $out/Applications
   '' else ''
diff --git a/pkgs/games/doom-ports/doomseeker/default.nix b/pkgs/games/doom-ports/doomseeker/default.nix
index 6f83fa130459c..25c536230a6c7 100644
--- a/pkgs/games/doom-ports/doomseeker/default.nix
+++ b/pkgs/games/doom-ports/doomseeker/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
   nativeBuildInputs = [ wrapQtAppsHook cmake qttools pkg-config xxd ];
   buildInputs = [ qtbase qtmultimedia zlib bzip2 ];
 
-  hardeningDisable = lib.optional stdenv.isDarwin "format";
+  hardeningDisable = lib.optional stdenv.hostPlatform.isDarwin "format";
 
   # Doomseeker looks for the engines in the program directory
   postInstall = ''
diff --git a/pkgs/games/doom-ports/odamex/default.nix b/pkgs/games/doom-ports/odamex/default.nix
index fb3b9a2fda4f0..b813fc0e1c410 100644
--- a/pkgs/games/doom-ports/odamex/default.nix
+++ b/pkgs/games/doom-ports/odamex/default.nix
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
 
   installPhase = ''
     runHook preInstall
-  '' + (if stdenv.isDarwin then ''
+  '' + (if stdenv.hostPlatform.isDarwin then ''
     mkdir -p $out/{Applications,bin}
     mv odalaunch/odalaunch.app $out/Applications
     makeWrapper $out/{Applications/odalaunch.app/Contents/MacOS,bin}/odalaunch
diff --git a/pkgs/games/doom-ports/zandronum/fmod.nix b/pkgs/games/doom-ports/zandronum/fmod.nix
index 59075d69c7531..0d965cb717243 100644
--- a/pkgs/games/doom-ports/zandronum/fmod.nix
+++ b/pkgs/games/doom-ports/zandronum/fmod.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
   version = "4.44.64";
   shortVersion = builtins.replaceStrings [ "." ] [ "" ] version;
 
-  src = fetchurl (if stdenv.isLinux then {
+  src = fetchurl (if stdenv.hostPlatform.isLinux then {
     url = "https://zdoom.org/files/fmod/fmodapi${shortVersion}linux.tar.gz";
     sha256 = "047hk92xapwwqj281f4zwl0ih821rrliya70gfj82sdfjh9lz8i1";
   } else {
@@ -24,11 +24,11 @@ stdenv.mkDerivation rec {
   dontPatchELF = true;
   dontBuild = true;
 
-  installPhase = lib.optionalString stdenv.isLinux ''
+  installPhase = lib.optionalString stdenv.hostPlatform.isLinux ''
     install -Dm755 api/lib/libfmodex${bits}-${version}.so $out/lib/libfmodex-${version}.so
     ln -s libfmodex-${version}.so $out/lib/libfmodex.so
     patchelf --set-rpath ${libPath} $out/lib/libfmodex.so
-  '' + lib.optionalString stdenv.isDarwin ''
+  '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
     install -D api/lib/libfmodex.dylib $out/lib/libfmodex.dylib
     install -D api/lib/libfmodexL.dylib $out/lib/libfmodexL.dylib
   '' + ''
diff --git a/pkgs/games/dwarf-fortress/default.nix b/pkgs/games/dwarf-fortress/default.nix
index e5bbf60e15500..72ca14578baed 100644
--- a/pkgs/games/dwarf-fortress/default.nix
+++ b/pkgs/games/dwarf-fortress/default.nix
@@ -49,8 +49,8 @@ let
   # The latest Dwarf Fortress version. Maintainers: when a new version comes
   # out, ensure that (unfuck|dfhack|twbt) are all up to date before changing
   # this. Note that unfuck and twbt are not required for 50.
-  latestVersion = if stdenv.isLinux then "50.13"
-                  else if stdenv.isDarwin then "0.47.05"
+  latestVersion = if stdenv.hostPlatform.isLinux then "50.13"
+                  else if stdenv.hostPlatform.isDarwin then "0.47.05"
                   else throw "Unsupported system";
 
   # Converts a version to a package name.
@@ -64,7 +64,7 @@ let
         let
           isAtLeast50 = versionAtLeast dfVersion "50.0";
 
-          dwarf-fortress-unfuck = optionalAttrs (!isAtLeast50 && stdenv.isLinux) (callPackage ./unfuck.nix { inherit dfVersion; });
+          dwarf-fortress-unfuck = optionalAttrs (!isAtLeast50 && stdenv.hostPlatform.isLinux) (callPackage ./unfuck.nix { inherit dfVersion; });
 
           dwarf-fortress = callPackage ./game.nix {
             inherit dfVersion;
diff --git a/pkgs/games/dwarf-fortress/dwarf-therapist/default.nix b/pkgs/games/dwarf-fortress/dwarf-therapist/default.nix
index 845aae0815e2a..1c3e05e92368d 100644
--- a/pkgs/games/dwarf-fortress/dwarf-therapist/default.nix
+++ b/pkgs/games/dwarf-fortress/dwarf-therapist/default.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
   cmakeFlags = [ "-GNinja" ];
 
   installPhase =
-    if stdenv.isDarwin then ''
+    if stdenv.hostPlatform.isDarwin then ''
       mkdir -p $out/Applications
       cp -r DwarfTherapist.app $out/Applications
     '' else null;
diff --git a/pkgs/games/dwarf-fortress/game.nix b/pkgs/games/dwarf-fortress/game.nix
index 1aefe5b642a21..02dfd89f636d1 100644
--- a/pkgs/games/dwarf-fortress/game.nix
+++ b/pkgs/games/dwarf-fortress/game.nix
@@ -67,7 +67,7 @@ let
     if hasAttr dfPlatform game
     then getAttr dfPlatform game
     else throw "Unsupported dfPlatform: ${dfPlatform}";
-  exe = if stdenv.isLinux then
+  exe = if stdenv.hostPlatform.isLinux then
     if baseVersion >= 50 then "dwarfort" else "libs/Dwarf_Fortress"
   else
     "dwarfort.exe";
@@ -86,8 +86,8 @@ stdenv.mkDerivation {
 
   postUnpack = ''
     directory=${
-      if stdenv.isLinux then "df_linux"
-      else if stdenv.isDarwin then "df_osx"
+      if stdenv.hostPlatform.isLinux then "df_linux"
+      else if stdenv.hostPlatform.isDarwin then "df_osx"
       else throw "Unsupported system"
     }
     if [ -d "$directory" ]; then
@@ -95,7 +95,7 @@ stdenv.mkDerivation {
     fi
   '';
 
-  nativeBuildInputs = optional stdenv.isLinux autoPatchelfHook;
+  nativeBuildInputs = optional stdenv.hostPlatform.isLinux autoPatchelfHook;
   buildInputs = optionals isAtLeast50 [ SDL2 SDL2_image SDL2_mixer ]
     ++ optional (!isAtLeast50) SDL
     ++ optional enableUnfuck dwarf-fortress-unfuck
@@ -124,7 +124,7 @@ stdenv.mkDerivation {
     # Store the original hash
     md5sum $exe | awk '{ print $1 }' > $out/hash.md5.orig
     echo "Original MD5: $(<$out/hash.md5.orig)" >&2
-  '' + optionalString stdenv.isDarwin ''
+  '' + optionalString stdenv.hostPlatform.isDarwin ''
     # My custom unfucked dwarfort.exe for macOS. Can't use
     # absolute paths because original doesn't have enough
     # header space. Someone plz break into Tarn's house & put
diff --git a/pkgs/games/dwarf-fortress/lazy-pack.nix b/pkgs/games/dwarf-fortress/lazy-pack.nix
index c94a46f04d9ef..eef830965eb4e 100644
--- a/pkgs/games/dwarf-fortress/lazy-pack.nix
+++ b/pkgs/games/dwarf-fortress/lazy-pack.nix
@@ -9,7 +9,7 @@
   # This package should, at any given time, provide an opinionated "optimal"
   # DF experience. It's the equivalent of the Lazy Newbie Pack, that is, and
   # should contain every utility available unless you disable them.
-, enableDFHack ? stdenvNoCC.isLinux
+, enableDFHack ? stdenvNoCC.hostPlatform.isLinux
 , enableTWBT ? enableDFHack
 , enableSoundSense ? true
 , enableStoneSense ? true
diff --git a/pkgs/games/dwarf-fortress/wrapper/default.nix b/pkgs/games/dwarf-fortress/wrapper/default.nix
index daa27ce5dc00a..268a5c1f5da53 100644
--- a/pkgs/games/dwarf-fortress/wrapper/default.nix
+++ b/pkgs/games/dwarf-fortress/wrapper/default.nix
@@ -197,8 +197,8 @@ stdenv.mkDerivation rec {
     chmod 755 $out/bin/soundsense
   '';
 
-  doInstallCheck = stdenv.isLinux;
-  nativeInstallCheckInputs = lib.optionals stdenv.isLinux [ expect xvfb-run ];
+  doInstallCheck = stdenv.hostPlatform.isLinux;
+  nativeInstallCheckInputs = lib.optionals stdenv.hostPlatform.isLinux [ expect xvfb-run ];
 
   installCheckPhase = let
     commonExpectStatements = fmod: lib.optionalString isAtLeast50 ''
diff --git a/pkgs/games/ecwolf/default.nix b/pkgs/games/ecwolf/default.nix
index 8bbbc53a0dcdb..77ccc9a929c35 100644
--- a/pkgs/games/ecwolf/default.nix
+++ b/pkgs/games/ecwolf/default.nix
@@ -25,16 +25,16 @@ stdenv.mkDerivation rec {
   };
 
   nativeBuildInputs = [ cmake pkg-config ]
-    ++ lib.optionals stdenv.isDarwin [ makeWrapper ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ makeWrapper ];
   buildInputs = [ zlib bzip2 libjpeg SDL2 SDL2_net SDL2_mixer gtk3 ];
 
-  NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-framework AppKit";
+  NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-framework AppKit";
 
   # ECWolf installs its binary to the games/ directory, but Nix only adds bin/
   # directories to the PATH.
-  postInstall = lib.optionalString stdenv.isLinux ''
+  postInstall = lib.optionalString stdenv.hostPlatform.isLinux ''
     mv "$out/games" "$out/bin"
-  '' + lib.optionalString stdenv.isDarwin ''
+  '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
     mkdir -p $out/{Applications,bin}
     cp -R ecwolf.app $out/Applications
     makeWrapper $out/{Applications/ecwolf.app/Contents/MacOS,bin}/ecwolf
diff --git a/pkgs/games/eduke32/default.nix b/pkgs/games/eduke32/default.nix
index 740d0bc47ea75..c213a6317b107 100644
--- a/pkgs/games/eduke32/default.nix
+++ b/pkgs/games/eduke32/default.nix
@@ -49,11 +49,11 @@ in stdenv.mkDerivation (finalAttrs: {
     libvpx
     SDL2
     SDL2_mixer
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     alsa-lib
     gtk2
     libGL
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     AGL
     Cocoa
     GLUT
@@ -74,7 +74,7 @@ in stdenv.mkDerivation (finalAttrs: {
       --replace-fail '#include <SDL.h>' '#include <SDL2/SDL.h>' \
       --replace-fail '#include <SDL_syswm.h>' '#include <SDL2/SDL_syswm.h>' \
       --replace-fail '#include <SDL_vulkan.h>' '#include <SDL2/SDL_vulkan.h>'
-  '' + lib.optionalString stdenv.isLinux ''
+  '' + lib.optionalString stdenv.hostPlatform.isLinux ''
     for f in glad.c glad_wgl.c ; do
       substituteInPlace source/glad/src/$f \
         --replace-fail libGL.so ${libGL}/lib/libGL.so
@@ -117,7 +117,7 @@ in stdenv.mkDerivation (finalAttrs: {
     runHook preInstall
 
     install -Dm755 -t $out/bin eduke32 mapster32 voidsw wangulator
-  '' + lib.optionalString stdenv.isLinux ''
+  '' + lib.optionalString stdenv.hostPlatform.isLinux ''
     makeWrapper $out/bin/eduke32 $out/bin/${wrapper} \
       --set-default EDUKE32_DATA_DIR /var/lib/games/eduke32 \
       --add-flags '-g "$EDUKE32_DATA_DIR/DUKE3D.GRP"'
@@ -127,7 +127,7 @@ in stdenv.mkDerivation (finalAttrs: {
     mkdir -p $out/share/icons/hicolor/scalable/apps
     gm convert "./source/duke3d/rsrc/game_icon.ico[10]" $out/share/icons/hicolor/scalable/apps/eduke32.png
     install -Dm644 ./source/sw/rsrc/game_icon.svg $out/share/icons/hicolor/scalable/apps/voidsw.svg
-  '' + lib.optionalString stdenv.isDarwin ''
+  '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
     mkdir -p $out/Applications/EDuke32.app/Contents/MacOS
     mkdir -p $out/Applications/Mapster32.app/Contents/MacOS
     mkdir -p $out/Applications/VoidSW.app/Contents/MacOS
diff --git a/pkgs/games/ferium/default.nix b/pkgs/games/ferium/default.nix
index 294421527d725..08710c42214da 100644
--- a/pkgs/games/ferium/default.nix
+++ b/pkgs/games/ferium/default.nix
@@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
     hash = "sha256-eeQjezB6pRdnPADLgDLo8b+bUSP12gfBhFNt/uYCwHU=";
   };
 
-  buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security SystemConfiguration ];
 
   cargoHash = "sha256-yBi6zyljkYEIUvSH4nXMw8fjPnt4kjqiuZ/QLT5IbqQ=";
 
diff --git a/pkgs/games/fheroes2/default.nix b/pkgs/games/fheroes2/default.nix
index bc87f453d32b8..c505970c964fa 100644
--- a/pkgs/games/fheroes2/default.nix
+++ b/pkgs/games/fheroes2/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ imagemagick ];
 
   buildInputs = [ gettext glibcLocalesUtf8 libpng SDL2 SDL2_image SDL2_mixer SDL2_ttf zlib ]
-    ++ lib.optionals stdenv.isDarwin [ libiconv ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
 
   makeFlags = [
     "FHEROES2_STRICT_COMPILATION=1"
diff --git a/pkgs/games/flare/engine.nix b/pkgs/games/flare/engine.nix
index a1f8761815aa0..b404e8ecfcd03 100644
--- a/pkgs/games/flare/engine.nix
+++ b/pkgs/games/flare/engine.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ cmake ];
   buildInputs = [ SDL2 SDL2_image SDL2_mixer SDL2_ttf ]
-    ++ lib.optional stdenv.isDarwin Cocoa;
+    ++ lib.optional stdenv.hostPlatform.isDarwin Cocoa;
 
   meta = with lib; {
     description = "Free/Libre Action Roleplaying Engine";
diff --git a/pkgs/games/freeciv/default.nix b/pkgs/games/freeciv/default.nix
index 47dfb08405092..1a0cb892dceac 100644
--- a/pkgs/games/freeciv/default.nix
+++ b/pkgs/games/freeciv/default.nix
@@ -83,6 +83,6 @@ stdenv.mkDerivation rec {
     maintainers = with lib.maintainers; [ pierron ];
     platforms = lib.platforms.unix;
     hydraPlatforms = lib.platforms.linux; # sdl-config times out on darwin
-    broken = qtClient && stdenv.isDarwin; # Missing Qt5 development files
+    broken = qtClient && stdenv.hostPlatform.isDarwin; # Missing Qt5 development files
   };
 }
diff --git a/pkgs/games/freedroid/default.nix b/pkgs/games/freedroid/default.nix
index a3aba73131117..130b02997b59a 100644
--- a/pkgs/games/freedroid/default.nix
+++ b/pkgs/games/freedroid/default.nix
@@ -49,6 +49,6 @@ stdenv.mkDerivation rec {
     maintainers = with maintainers; [ iblech ];
     platforms   = platforms.unix;
     # Builds but fails to render to the screen at runtime.
-    broken      = stdenv.isDarwin;
+    broken      = stdenv.hostPlatform.isDarwin;
   };
 }
diff --git a/pkgs/games/freedroidrpg/default.nix b/pkgs/games/freedroidrpg/default.nix
index b41b91855ee06..8c9b3e0cbf0d7 100644
--- a/pkgs/games/freedroidrpg/default.nix
+++ b/pkgs/games/freedroidrpg/default.nix
@@ -20,7 +20,7 @@ in stdenv.mkDerivation {
 
   buildInputs = [
     glew SDL SDL_image SDL_gfx SDL_mixer libogg libvorbis lua5_3 libjpeg libpng zlib
-  ] ++ lib.optional stdenv.isDarwin libiconv;
+  ] ++ lib.optional stdenv.hostPlatform.isDarwin libiconv;
 
   enableParallelBuilding = true;
 
diff --git a/pkgs/games/freenukum/default.nix b/pkgs/games/freenukum/default.nix
index af202ffd528dc..e0f90773810e6 100644
--- a/pkgs/games/freenukum/default.nix
+++ b/pkgs/games/freenukum/default.nix
@@ -69,6 +69,6 @@ rustPlatform.buildRustPackage rec {
     changelog = "https://salsa.debian.org/silwol/freenukum/-/blob/v${version}/CHANGELOG.md";
     license = licenses.agpl3Plus;
     maintainers = with maintainers; [ _0x4A6F ];
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
   };
 }
diff --git a/pkgs/games/gargoyle/default.nix b/pkgs/games/gargoyle/default.nix
index 35b8dc7330312..d7863361b8461 100644
--- a/pkgs/games/gargoyle/default.nix
+++ b/pkgs/games/gargoyle/default.nix
@@ -5,7 +5,7 @@ let
 
   jamenv = ''
     unset AR
-  '' + (if stdenv.isDarwin then ''
+  '' + (if stdenv.hostPlatform.isDarwin then ''
     export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${lib.getDev SDL}/include/SDL"
     export GARGLKINI="$out/Applications/Gargoyle.app/Contents/Resources/garglk.ini"
   '' else ''
@@ -30,10 +30,10 @@ stdenv.mkDerivation rec {
     sha256 = "0w54avmbp4i4zps2rb4acmpa641s6wvwbrln4vbdhcz97fx48nzz";
   };
 
-  nativeBuildInputs = [ jam pkg-config ] ++ lib.optional stdenv.isDarwin cctools;
+  nativeBuildInputs = [ jam pkg-config ] ++ lib.optional stdenv.hostPlatform.isDarwin cctools;
 
   buildInputs = [ SDL SDL_mixer SDL_sound gtk2 ]
-    ++ lib.optionals stdenv.isDarwin [ smpeg libvorbis ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ smpeg libvorbis ];
 
   # Workaround build failure on -fno-common toolchains:
   #   ld: build/linux.release/alan3/Location.o:(.bss+0x0): multiple definition of
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
   buildPhase = jamenv + "jam -j$NIX_BUILD_CORES";
 
   installPhase =
-  if stdenv.isDarwin then
+  if stdenv.hostPlatform.isDarwin then
   (substituteAll {
     inherit (stdenv) shell;
     isExecutable = true;
@@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
   enableParallelBuilding = true;
 
   meta = with lib; {
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
     homepage = "http://ccxvii.net/gargoyle/";
     license = licenses.gpl2Plus;
     description = "Interactive fiction interpreter GUI";
diff --git a/pkgs/games/gemrb/default.nix b/pkgs/games/gemrb/default.nix
index 5906fb6f1cd87..85ea2954309e7 100644
--- a/pkgs/games/gemrb/default.nix
+++ b/pkgs/games/gemrb/default.nix
@@ -20,7 +20,7 @@ let
   backend =
     if stdenv.hostPlatform.isx86 then "OpenGL" else "GLES";
 
-  withVLC = stdenv.isDarwin;
+  withVLC = stdenv.hostPlatform.isDarwin;
 
   inherit (lib) optional optionalString;
 
diff --git a/pkgs/games/gmad/default.nix b/pkgs/games/gmad/default.nix
index 97538679ee597..799609856137b 100644
--- a/pkgs/games/gmad/default.nix
+++ b/pkgs/games/gmad/default.nix
@@ -22,8 +22,8 @@ stdenv.mkDerivation rec {
   buildInputs = [ premake4 bootil ];
 
   targetName =
-    if stdenv.isLinux then "gmad_linux"
-    else if stdenv.isDarwin then "gmad_osx"
+    if stdenv.hostPlatform.isLinux then "gmad_linux"
+    else if stdenv.hostPlatform.isDarwin then "gmad_osx"
     else "gmad";
 
   premakeFlags = [ "--bootil_lib=${bootil}/lib" "--bootil_inc=${bootil}/include" ];
diff --git a/pkgs/games/gtypist/default.nix b/pkgs/games/gtypist/default.nix
index 169b0fa77db08..4d9fe630ca42d 100644
--- a/pkgs/games/gtypist/default.nix
+++ b/pkgs/games/gtypist/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ makeWrapper ];
   buildInputs = [ ncurses perl fortune ]
-   ++ lib.optional stdenv.isDarwin libiconv;
+   ++ lib.optional stdenv.hostPlatform.isDarwin libiconv;
 
   preFixup = ''
      wrapProgram "$out/bin/typefortune" \
diff --git a/pkgs/games/hedgewars/default.nix b/pkgs/games/hedgewars/default.nix
index 351dd15c417fb..389beb7b51c8f 100644
--- a/pkgs/games/hedgewars/default.nix
+++ b/pkgs/games/hedgewars/default.nix
@@ -88,7 +88,7 @@ stdenv.mkDerivation rec {
        hedgehog or hedgehogs after a player's or CPU turn is shown only when
        all movement on the battlefield has ceased).'';
     maintainers = with maintainers; [ kragniz fpletz ];
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
     platforms = platforms.linux;
   };
 }
diff --git a/pkgs/games/heroic/default.nix b/pkgs/games/heroic/default.nix
index 4a4e2abd66d1e..a9c85e26b5132 100644
--- a/pkgs/games/heroic/default.nix
+++ b/pkgs/games/heroic/default.nix
@@ -1,26 +1,28 @@
-{ lib
-, stdenv
-, fetchFromGitHub
-, pnpm
-, nodejs
-, makeWrapper
-, electron
-, vulkan-helper
-, gogdl
-, legendary-gl
-, nile
-, comet-gog
+{
+  lib,
+  stdenv,
+  fetchFromGitHub,
+  nix-update-script,
+  pnpm,
+  nodejs,
+  makeWrapper,
+  electron,
+  vulkan-helper,
+  gogdl,
+  legendary-gl,
+  nile,
+  comet-gog,
 }:
 
 stdenv.mkDerivation (finalAttrs: {
   pname = "heroic-unwrapped";
-  version = "2.15.1";
+  version = "2.15.2";
 
   src = fetchFromGitHub {
     owner = "Heroic-Games-Launcher";
     repo = "HeroicGamesLauncher";
     rev = "v${finalAttrs.version}";
-    hash = "sha256-+OQRcBOf9Y34DD7FOp/3SO05mREG6or/HPiOkasHWPM=";
+    hash = "sha256-AndJqk1VAUdC4pOTRzyfhdxmzJMskGF6pUiqPs3fIy4=";
   };
 
   pnpmDeps = pnpm.fetchDeps {
@@ -93,6 +95,11 @@ stdenv.mkDerivation (finalAttrs: {
     runHook postInstall
   '';
 
+  passthru = {
+    inherit (finalAttrs) pnpmDeps;
+    updateScript = nix-update-script { };
+  };
+
   meta = with lib; {
     description = "Native GOG, Epic, and Amazon Games Launcher for Linux, Windows and Mac";
     homepage = "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher";
diff --git a/pkgs/games/heroic/fhsenv.nix b/pkgs/games/heroic/fhsenv.nix
index 54732d0e87d5f..4fe9429193199 100644
--- a/pkgs/games/heroic/fhsenv.nix
+++ b/pkgs/games/heroic/fhsenv.nix
@@ -1,7 +1,8 @@
-{ buildFHSEnv
-, heroic-unwrapped
-, extraPkgs ? pkgs: [ ]
-, extraLibraries ? pkgs: [ ]
+{
+  buildFHSEnv,
+  heroic-unwrapped,
+  extraPkgs ? pkgs: [ ],
+  extraLibraries ? pkgs: [ ],
 }:
 
 buildFHSEnv {
@@ -15,120 +16,131 @@ buildFHSEnv {
   # required by Electron
   unshareIpc = false;
 
-  targetPkgs = pkgs: with pkgs; [
-    heroic-unwrapped
-    gamemode
-    curl
-    gawk
-    zenity
-    plasma5Packages.kdialog
-    mangohud
-    nettools
-    opencl-headers
-    p7zip
-    perl
-    psmisc
-    python3
-    unzip
-    which
-    xorg.xrandr
-    zstd
-  ] ++ extraPkgs pkgs;
+  targetPkgs =
+    pkgs:
+    with pkgs;
+    [
+      heroic-unwrapped
+      gamemode
+      curl
+      gawk
+      zenity
+      plasma5Packages.kdialog
+      mangohud
+      nettools
+      opencl-headers
+      p7zip
+      perl
+      psmisc
+      python3
+      unzip
+      which
+      xorg.xrandr
+      zstd
+    ]
+    ++ extraPkgs pkgs;
 
-  multiPkgs = let
-    xorgDeps = pkgs: with pkgs.xorg; [
-      libpthreadstubs
-      libSM
-      libX11
-      libXaw
-      libxcb
-      libXcomposite
-      libXcursor
-      libXdmcp
-      libXext
-      libXi
-      libXinerama
-      libXmu
-      libXrandr
-      libXrender
-      libXv
-      libXxf86vm
-    ];
-    gstreamerDeps = pkgs: with pkgs.gst_all_1; [
-      gstreamer
-      gst-plugins-base
-      gst-plugins-good
-      gst-plugins-ugly
-      gst-plugins-bad
-      gst-libav
-    ];
-  in pkgs: with pkgs; [
-    alsa-lib
-    alsa-plugins
-    bash
-    cabextract
-    cairo
-    coreutils
-    cups
-    dbus
-    freealut
-    freetype
-    fribidi
-    giflib
-    glib
-    gnutls
-    gtk3
-    icu
-    lcms2
-    libevdev
-    libgcrypt
-    libGLU
-    libglvnd
-    libgpg-error
-    libgudev
-    libjpeg
-    libkrb5
-    libmpeg2
-    libogg
-    libopus
-    libpng
-    libpulseaudio
-    libselinux
-    libsndfile
-    libsoup
-    libtheora
-    libtiff
-    libunwind
-    libusb1
-    libv4l
-    libva
-    libvdpau
-    libvorbis
-    libvpx
-    libwebp
-    libxkbcommon
-    libxml2
-    mpg123
-    ncurses
-    ocl-icd
-    openal
-    openldap
-    openssl
-    pango
-    pipewire
-    samba4
-    sane-backends
-    SDL2
-    speex
-    sqlite
-    udev
-    unixODBC
-    util-linux
-    v4l-utils
-    vulkan-loader
-    wayland
-    zlib
-  ] ++ xorgDeps pkgs
+  multiPkgs =
+    let
+      xorgDeps =
+        pkgs: with pkgs.xorg; [
+          libpthreadstubs
+          libSM
+          libX11
+          libXaw
+          libxcb
+          libXcomposite
+          libXcursor
+          libXdmcp
+          libXext
+          libXi
+          libXinerama
+          libXmu
+          libXrandr
+          libXrender
+          libXv
+          libXxf86vm
+        ];
+      gstreamerDeps =
+        pkgs: with pkgs.gst_all_1; [
+          gstreamer
+          gst-plugins-base
+          gst-plugins-good
+          gst-plugins-ugly
+          gst-plugins-bad
+          gst-libav
+        ];
+    in
+    pkgs:
+    with pkgs;
+    [
+      alsa-lib
+      alsa-plugins
+      bash
+      cabextract
+      cairo
+      coreutils
+      cups
+      dbus
+      freealut
+      freetype
+      fribidi
+      giflib
+      glib
+      gnutls
+      gtk3
+      icu
+      lcms2
+      libevdev
+      libgcrypt
+      libGLU
+      libglvnd
+      libgpg-error
+      libgudev
+      libjpeg
+      libkrb5
+      libmpeg2
+      libogg
+      libopus
+      libpng
+      libpulseaudio
+      libselinux
+      libsndfile
+      libsoup
+      libtheora
+      libtiff
+      libunwind
+      libusb1
+      libv4l
+      libva
+      libvdpau
+      libvorbis
+      libvpx
+      libwebp
+      libxkbcommon
+      libxml2
+      mpg123
+      ncurses
+      ocl-icd
+      openal
+      openldap
+      openssl
+      pango
+      pipewire
+      samba4
+      sane-backends
+      SDL2
+      speex
+      sqlite
+      udev
+      unixODBC
+      util-linux
+      v4l-utils
+      vulkan-loader
+      wayland
+      zlib
+    ]
+    ++ xorgDeps pkgs
     ++ gstreamerDeps pkgs
     ++ extraLibraries pkgs;
 
diff --git a/pkgs/games/hheretic/default.nix b/pkgs/games/hheretic/default.nix
index 6e4be6bd54b71..83b0ccb620cf5 100644
--- a/pkgs/games/hheretic/default.nix
+++ b/pkgs/games/hheretic/default.nix
@@ -52,6 +52,6 @@ stdenv.mkDerivation (finalAttrs: {
     mainProgram = "hheretic-gl";
     maintainers = with lib.maintainers; [ moody ];
     inherit (SDL.meta) platforms;
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
   };
 })
diff --git a/pkgs/games/hhexen/default.nix b/pkgs/games/hhexen/default.nix
index 0e5345e85a7d3..c73040a30f7e3 100644
--- a/pkgs/games/hhexen/default.nix
+++ b/pkgs/games/hhexen/default.nix
@@ -52,6 +52,6 @@ stdenv.mkDerivation (finalAttrs: {
     maintainers = with lib.maintainers; [ moody djanatyn ];
     mainProgram = "hhexen-gl";
     inherit (SDL.meta) platforms;
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
   };
 })
diff --git a/pkgs/games/hmcl/default.nix b/pkgs/games/hmcl/default.nix
index 69b546183406a..7a330c399272b 100644
--- a/pkgs/games/hmcl/default.nix
+++ b/pkgs/games/hmcl/default.nix
@@ -75,7 +75,7 @@ stdenv.mkDerivation (finalAttrs: {
           glib
           openal
           libglvnd
-        ] ++ lib.optionals stdenv.isLinux [
+        ] ++ lib.optionals stdenv.hostPlatform.isLinux [
           xorg.libX11
           xorg.libXxf86vm
           xorg.libXext
diff --git a/pkgs/games/ja2-stracciatella/default.nix b/pkgs/games/ja2-stracciatella/default.nix
index ea363c969429d..9ad6e3105406f 100644
--- a/pkgs/games/ja2-stracciatella/default.nix
+++ b/pkgs/games/ja2-stracciatella/default.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation {
   inherit src version;
 
   nativeBuildInputs = [ cmake python3 ];
-  buildInputs = [ SDL2 fltk rapidjson gtest ] ++ lib.optionals stdenv.isDarwin [ Carbon Cocoa ];
+  buildInputs = [ SDL2 fltk rapidjson gtest ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Carbon Cocoa ];
 
   patches = [
     ./remove-rust-buildstep.patch
diff --git a/pkgs/games/jfsw/default.nix b/pkgs/games/jfsw/default.nix
index ed82964e4d0eb..181b28e06c9d6 100644
--- a/pkgs/games/jfsw/default.nix
+++ b/pkgs/games/jfsw/default.nix
@@ -51,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: {
     license = lib.licenses.gpl2Plus;
     mainProgram = "sw";
     maintainers = with lib.maintainers; [ moody ];
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
     inherit (SDL2.meta) platforms;
   };
 })
diff --git a/pkgs/games/julius/default.nix b/pkgs/games/julius/default.nix
index 69f3c34a1f0ff..f5f5bb6d1eb46 100644
--- a/pkgs/games/julius/default.nix
+++ b/pkgs/games/julius/default.nix
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [
     cmake
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.sigtool
     libicns
     imagemagick
@@ -38,11 +38,11 @@ stdenv.mkDerivation rec {
     SDL2
     SDL2_mixer
     libpng
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.Cocoa
   ];
 
-  installPhase = lib.optionalString stdenv.isDarwin ''
+  installPhase = lib.optionalString stdenv.hostPlatform.isDarwin ''
     runHook preInstall
     mkdir -p $out/Applications
     cp -r julius.app $out/Applications/
diff --git a/pkgs/games/jumpy/default.nix b/pkgs/games/jumpy/default.nix
index 23e130582a3d0..7040aa4e34019 100644
--- a/pkgs/games/jumpy/default.nix
+++ b/pkgs/games/jumpy/default.nix
@@ -41,7 +41,7 @@ rustPlatform.buildRustPackage rec {
 
   buildInputs = [
     zstd
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     alsa-lib
     libxkbcommon
     udev
@@ -51,7 +51,7 @@ rustPlatform.buildRustPackage rec {
     xorg.libXcursor
     xorg.libXi
     xorg.libXrandr
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk_11_0.frameworks.Cocoa
     rustPlatform.bindgenHook
   ];
@@ -70,7 +70,7 @@ rustPlatform.buildRustPackage rec {
     wrapProgram $out/bin/jumpy --chdir $out/share
   '';
 
-  postFixup = lib.optionalString stdenv.isLinux ''
+  postFixup = lib.optionalString stdenv.hostPlatform.isLinux ''
     patchelf $out/bin/.jumpy-wrapped \
       --add-rpath ${lib.makeLibraryPath [ vulkan-loader ]}
   '';
diff --git a/pkgs/games/klavaro/default.nix b/pkgs/games/klavaro/default.nix
index 58dda8d23a635..adaae799cb5cf 100644
--- a/pkgs/games/klavaro/default.nix
+++ b/pkgs/games/klavaro/default.nix
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
   '';
 
   # remove forbidden references to $TMPDIR
-  preFixup = lib.optionalString stdenv.isLinux ''
+  preFixup = lib.optionalString stdenv.hostPlatform.isLinux ''
     for f in "$out"/bin/*; do
       if isELF "$f"; then
         patchelf --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" "$f"
diff --git a/pkgs/games/ldmud/default.nix b/pkgs/games/ldmud/default.nix
index 83bbadfe7dc41..de92518781fe1 100644
--- a/pkgs/games/ldmud/default.nix
+++ b/pkgs/games/ldmud/default.nix
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
     ++ lib.optional postgresSupport postgresql
     ++ lib.optional sqliteSupport sqlite ++ lib.optional tlsSupport openssl
     ++ lib.optional pythonSupport python310
-    ++ lib.optionals stdenv.isDarwin [ libiconv ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
 
   # To support systems without autoconf LD puts its configure.ac in a non-default
   # location and uses a helper script. We skip that script and symlink the .ac
diff --git a/pkgs/games/libremines/default.nix b/pkgs/games/libremines/default.nix
index f1a79e54bd62e..e639b981369e7 100644
--- a/pkgs/games/libremines/default.nix
+++ b/pkgs/games/libremines/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
 
   buildInputs = [
     qtmultimedia
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     qtwayland
   ];
 
diff --git a/pkgs/games/lincity/default.nix b/pkgs/games/lincity/default.nix
index 3f77d9bbe415f..deb4f2eb02509 100644
--- a/pkgs/games/lincity/default.nix
+++ b/pkgs/games/lincity/default.nix
@@ -38,6 +38,6 @@ stdenv.mkDerivation rec {
     homepage = "https://sourceforge.net/projects/lincity";
     maintainers = [ ];
     # ../lcintl.h:14:10: fatal error: 'libintl.h' file not found
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
   };
 }
diff --git a/pkgs/games/liquidwar/5.nix b/pkgs/games/liquidwar/5.nix
index 9c61f97d1a7f9..64ea76560f134 100644
--- a/pkgs/games/liquidwar/5.nix
+++ b/pkgs/games/liquidwar/5.nix
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ allegro ];
 
-  configureFlags = lib.optional stdenv.isx86_64 "--disable-asm";
+  configureFlags = lib.optional stdenv.hostPlatform.isx86_64 "--disable-asm";
 
   hardeningDisable = [ "format" ];
 
diff --git a/pkgs/games/manaplus/default.nix b/pkgs/games/manaplus/default.nix
index deb12d45ad4b7..768a971d83465 100644
--- a/pkgs/games/manaplus/default.nix
+++ b/pkgs/games/manaplus/default.nix
@@ -28,6 +28,6 @@ stdenv.mkDerivation rec {
     description = "Free OpenSource 2D MMORPG client";
     homepage = "https://manaplus.org/";
     license = lib.licenses.gpl2Plus;
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
   };
 }
diff --git a/pkgs/games/mchprs/default.nix b/pkgs/games/mchprs/default.nix
index 49ef836423cdc..97fc84b5d9b46 100644
--- a/pkgs/games/mchprs/default.nix
+++ b/pkgs/games/mchprs/default.nix
@@ -36,7 +36,7 @@ rustPlatform.buildRustPackage rec {
     openssl
     sqlite
     zlib
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.CoreFoundation
     darwin.apple_sdk.frameworks.Security
   ];
diff --git a/pkgs/games/mindustry/default.nix b/pkgs/games/mindustry/default.nix
index 789b2bca65a52..43001343b7488 100644
--- a/pkgs/games/mindustry/default.nix
+++ b/pkgs/games/mindustry/default.nix
@@ -187,7 +187,7 @@ stdenv.mkDerivation {
       mkdir -p $out/bin
       makeWrapper ${jdk}/bin/java $out/bin/mindustry \
         --add-flags "-jar $out/share/mindustry.jar" \
-        ${lib.optionalString stdenv.isLinux "--suffix PATH : ${lib.makeBinPath [zenity]}"} \
+        ${lib.optionalString stdenv.hostPlatform.isLinux "--suffix PATH : ${lib.makeBinPath [zenity]}"} \
         --suffix LD_LIBRARY_PATH : ${lib.makeLibraryPath [libpulseaudio alsa-lib libjack2]} \
         --set ALSA_PLUGIN_DIR ${alsa-plugins}/lib/alsa-lib/'' + lib.optionalString enableWayland '' \
         --set SDL_VIDEODRIVER wayland \
@@ -240,6 +240,6 @@ stdenv.mkDerivation {
     maintainers = with lib.maintainers; [ chkno fgaz thekostins ];
     platforms = lib.platforms.all;
     # TODO alsa-lib is linux-only, figure out what dependencies are required on Darwin
-    broken = enableClient && stdenv.isDarwin;
+    broken = enableClient && stdenv.hostPlatform.isDarwin;
   };
 }
diff --git a/pkgs/games/minecraft-servers/derivation.nix b/pkgs/games/minecraft-servers/derivation.nix
index a94a2daecac24..c6f26d73eb6f1 100644
--- a/pkgs/games/minecraft-servers/derivation.nix
+++ b/pkgs/games/minecraft-servers/derivation.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
 
     makeWrapper ${lib.getExe jre_headless} $out/bin/minecraft-server \
       --append-flags "-jar $out/lib/minecraft/server.jar nogui" \
-      ${lib.optionalString stdenv.isLinux "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ udev ]}"}
+      ${lib.optionalString stdenv.hostPlatform.isLinux "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ udev ]}"}
 
     runHook postInstall
   '';
diff --git a/pkgs/games/minetest/default.nix b/pkgs/games/minetest/default.nix
index 3a49b5b90f443..f4ccf5ac71e9b 100644
--- a/pkgs/games/minetest/default.nix
+++ b/pkgs/games/minetest/default.nix
@@ -119,13 +119,13 @@ stdenv.mkDerivation (finalAttrs: {
 
   postPatch = ''
     substituteInPlace src/filesys.cpp --replace "/bin/rm" "${coreutils}/bin/rm"
-  '' + lib.optionalString stdenv.isDarwin ''
+  '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
     sed -i '/pagezero_size/d;/fixup_bundle/d' src/CMakeLists.txt
   '';
 
-  postInstall = lib.optionalString stdenv.isLinux ''
+  postInstall = lib.optionalString stdenv.hostPlatform.isLinux ''
     patchShebangs $out
-  '' + lib.optionalString stdenv.isDarwin ''
+  '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
     mkdir -p $out/Applications
     mv $out/minetest.app $out/Applications
   '';
diff --git a/pkgs/games/mudlet/default.nix b/pkgs/games/mudlet/default.nix
index 78a7eb901c501..eef4560e386a5 100644
--- a/pkgs/games/mudlet/default.nix
+++ b/pkgs/games/mudlet/default.nix
@@ -97,7 +97,7 @@ stdenv.mkDerivation rec {
     qtmultimedia
     yajl
     discord-rpc
-  ] ++ lib.optional stdenv.isDarwin [
+  ] ++ lib.optional stdenv.hostPlatform.isDarwin [
     AppKit
   ];
 
@@ -122,7 +122,7 @@ stdenv.mkDerivation rec {
 
     cp -r ../translations $out/share/
 
-  '' + lib.optionalString stdenv.isDarwin ''
+  '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
     mkdir -p $out/Applications
     cp -r src/mudlet.app/ $out/Applications/mudlet.app
     mv $out/Applications/mudlet.app/Contents/MacOS/mudlet $out/Applications/mudlet.app/Contents/MacOS/mudlet-unwrapped
@@ -132,7 +132,7 @@ stdenv.mkDerivation rec {
       --prefix DYLD_LIBRARY_PATH : "${lib.makeLibraryPath [ libsForQt5.qtkeychain discord-rpc ]}:$out/lib" \
       --chdir "$out";
 
-  '' + lib.optionalString (!stdenv.isDarwin) ''
+  '' + lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
     mkdir -pv $out/bin
     cp src/mudlet $out/bin/mudlet-unwrapped
     makeQtWrapper $out/bin/mudlet-unwrapped $out/bin/mudlet \
diff --git a/pkgs/games/npush/default.nix b/pkgs/games/npush/default.nix
index 7a061a4bc638e..e3d199c7fa87b 100644
--- a/pkgs/games/npush/default.nix
+++ b/pkgs/games/npush/default.nix
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
   '';
 
   meta = with lib; {
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
     homepage = "https://npush.sourceforge.net/";
     description = "Sokoban-like game";
     mainProgram = "npush";
diff --git a/pkgs/games/opendungeons/default.nix b/pkgs/games/opendungeons/default.nix
index 3562aa8c6f89d..a66504fa1d83c 100644
--- a/pkgs/games/opendungeons/default.nix
+++ b/pkgs/games/opendungeons/default.nix
@@ -38,7 +38,7 @@ stdenv.mkDerivation {
   ];
 
   # source/utils/StackTraceUnix.cpp:122:2: error: #error Unsupported architecture.
-  postPatch = lib.optionalString (!stdenv.isx86_64) ''
+  postPatch = lib.optionalString (!stdenv.hostPlatform.isx86_64) ''
     cp source/utils/StackTrace{Stub,Unix}.cpp
   '';
 
diff --git a/pkgs/games/openmw/default.nix b/pkgs/games/openmw/default.nix
index edeed841c923a..22bd90a348a97 100644
--- a/pkgs/games/openmw/default.nix
+++ b/pkgs/games/openmw/default.nix
@@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
 
   postPatch = ''
     sed '1i#include <memory>' -i components/myguiplatform/myguidatamanager.cpp # gcc12
-  '' + lib.optionalString stdenv.isDarwin ''
+  '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
     # Don't fix Darwin app bundle
     sed -i '/fixup_bundle/d' CMakeLists.txt
   '';
@@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
 
   # If not set, OSG plugin .so files become shell scripts on Darwin.
-  dontWrapQtApps = stdenv.isDarwin;
+  dontWrapQtApps = stdenv.hostPlatform.isDarwin;
 
   buildInputs = [
     SDL2
@@ -90,7 +90,7 @@ stdenv.mkDerivation rec {
     recastnavigation
     unshield
     yaml-cpp
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     CoreMedia
     VideoDecodeAcceleration
     VideoToolbox
@@ -99,7 +99,7 @@ stdenv.mkDerivation rec {
   cmakeFlags = [
     "-DOpenGL_GL_PREFERENCE=${GL}"
     "-DOPENMW_USE_SYSTEM_RECASTNAVIGATION=1"
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     "-DOPENMW_OSX_DEPLOYMENT=ON"
   ];
 
diff --git a/pkgs/games/openrw/default.nix b/pkgs/games/openrw/default.nix
index 061d053e34ec1..d2d86226af261 100644
--- a/pkgs/games/openrw/default.nix
+++ b/pkgs/games/openrw/default.nix
@@ -43,7 +43,7 @@ stdenv.mkDerivation {
 
   buildInputs = [
     sfml libGLU libGL bullet glm libmad openal SDL2 boost ffmpeg_6
-  ] ++ lib.optionals stdenv.isDarwin [ OpenAL Cocoa ];
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ OpenAL Cocoa ];
 
   meta = with lib; {
     description = "Unofficial open source recreation of the classic Grand Theft Auto III game executable";
diff --git a/pkgs/games/openspades/default.nix b/pkgs/games/openspades/default.nix
index ebab9a018fbfa..fd070312b1f9f 100644
--- a/pkgs/games/openspades/default.nix
+++ b/pkgs/games/openspades/default.nix
@@ -65,6 +65,6 @@ stdenv.mkDerivation rec {
     platforms   = platforms.all;
     maintainers = with maintainers; [ abbradar azahi ];
     # never built on aarch64-linux since first introduction in nixpkgs
-    broken = stdenv.isDarwin || (stdenv.isLinux && stdenv.isAarch64);
+    broken = stdenv.hostPlatform.isDarwin || (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64);
   };
 }
diff --git a/pkgs/games/osu-lazer/bin.nix b/pkgs/games/osu-lazer/bin.nix
index d3dd268620edf..89ebe14cb41e1 100644
--- a/pkgs/games/osu-lazer/bin.nix
+++ b/pkgs/games/osu-lazer/bin.nix
@@ -43,7 +43,7 @@ let
 
   passthru.updateScript = ./update-bin.sh;
 in
-if stdenv.isDarwin
+if stdenv.hostPlatform.isDarwin
 then stdenv.mkDerivation {
   inherit pname version src meta passthru;
 
diff --git a/pkgs/games/papermc/derivation.nix b/pkgs/games/papermc/derivation.nix
index 5dd169dbc9b49..c7ad650d00f69 100644
--- a/pkgs/games/papermc/derivation.nix
+++ b/pkgs/games/papermc/derivation.nix
@@ -22,7 +22,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
 
     makeWrapper ${lib.getExe jre} "$out/bin/minecraft-server" \
       --append-flags "-jar $out/share/papermc/papermc.jar nogui" \
-      ${lib.optionalString stdenvNoCC.isLinux "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ udev ]}"}
+      ${lib.optionalString stdenvNoCC.hostPlatform.isLinux "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ udev ]}"}
 
     runHook postInstall
   '';
diff --git a/pkgs/games/papermc/versions.json b/pkgs/games/papermc/versions.json
index 343f7abb0595d..7e10420a2a0b0 100644
--- a/pkgs/games/papermc/versions.json
+++ b/pkgs/games/papermc/versions.json
@@ -52,15 +52,15 @@
         "version": "1.20.5-22"
     },
     "1.20.6": {
-        "hash": "sha256-hOFGBazDab9moLwJyy1wwymsLGzeHZhcRluXSHfMK6M=",
-        "version": "1.20.6-149"
+        "hash": "sha256-kpofEntQrUtOMBiMgJfFAL+2yLO97vGowKYRocA8P7g=",
+        "version": "1.20.6-150"
     },
     "1.21": {
         "hash": "sha256-q5uxr8POppeKDAPOhEiqZU/oqcTd3zQefL2hsO2qc/U=",
         "version": "1.21-130"
     },
     "1.21.1": {
-        "hash": "sha256-7nMJ/ePyaJxEOCKusg52ERnFtmPlW+Ilbz/Q8KKpJ0E=",
-        "version": "1.21.1-69"
+        "hash": "sha256-mHaYzF79Pxv27qZxcRzcnSKGuaaEybATQJo+pAHoyJk=",
+        "version": "1.21.1-85"
     }
 }
diff --git a/pkgs/games/path-of-building/default.nix b/pkgs/games/path-of-building/default.nix
index 0fcd79b4b9563..622df7873b389 100644
--- a/pkgs/games/path-of-building/default.nix
+++ b/pkgs/games/path-of-building/default.nix
@@ -64,7 +64,7 @@ stdenv.mkDerivation {
     qttools
     wrapQtAppsHook
     icoutils
-  ] ++ lib.optional stdenv.isLinux copyDesktopItems;
+  ] ++ lib.optional stdenv.hostPlatform.isLinux copyDesktopItems;
 
   buildInputs = [
     qtbase
@@ -126,6 +126,6 @@ stdenv.mkDerivation {
     license = lib.licenses.mit;
     maintainers = [ lib.maintainers.k900 ];
     mainProgram = "pobfrontend";
-    broken = stdenv.isDarwin; # doesn't find uic6 for some reason
+    broken = stdenv.hostPlatform.isDarwin; # doesn't find uic6 for some reason
   };
 }
diff --git a/pkgs/games/powermanga/default.nix b/pkgs/games/powermanga/default.nix
index 3c89266370cf0..eaa45460be922 100644
--- a/pkgs/games/powermanga/default.nix
+++ b/pkgs/games/powermanga/default.nix
@@ -55,6 +55,6 @@ stdenv.mkDerivation (finalAttrs: {
     license = licenses.gpl3Plus;
     maintainers = with maintainers; [ fgaz ];
     platforms = platforms.all;
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
   };
 })
diff --git a/pkgs/games/quake2/yquake2/default.nix b/pkgs/games/quake2/yquake2/default.nix
index 4135706c98136..3c78d0e5f2335 100644
--- a/pkgs/games/quake2/yquake2/default.nix
+++ b/pkgs/games/quake2/yquake2/default.nix
@@ -25,13 +25,13 @@ let
     postPatch = ''
       substituteInPlace src/client/curl/qcurl.c \
         --replace "\"libcurl.so.3\", \"libcurl.so.4\"" "\"${curl.out}/lib/libcurl.so\", \"libcurl.so.3\", \"libcurl.so.4\""
-    '' + lib.optionalString (openalSupport && !stdenv.isDarwin) ''
+    '' + lib.optionalString (openalSupport && !stdenv.hostPlatform.isDarwin) ''
       substituteInPlace Makefile \
         --replace "\"libopenal.so.1\"" "\"${openal}/lib/libopenal.so.1\""
     '';
 
     buildInputs = [ SDL2 libGL curl ]
-      ++ lib.optionals stdenv.isDarwin [ Cocoa OpenAL ]
+      ++ lib.optionals stdenv.hostPlatform.isDarwin [ Cocoa OpenAL ]
       ++ lib.optional openalSupport openal;
 
     makeFlags = [
diff --git a/pkgs/games/quakespasm/default.nix b/pkgs/games/quakespasm/default.nix
index 6b3080c7573e5..5b124cb464d17 100644
--- a/pkgs/games/quakespasm/default.nix
+++ b/pkgs/games/quakespasm/default.nix
@@ -1,7 +1,7 @@
 { lib, stdenv, SDL, SDL2, fetchurl, gzip, libvorbis, libmad, flac, libopus, opusfile, libogg, libxmp
 , Cocoa, CoreAudio, CoreFoundation, IOKit, OpenGL
 , copyDesktopItems, makeDesktopItem, pkg-config
-, useSDL2 ? stdenv.isDarwin # TODO: CoreAudio fails to initialize with SDL 1.x for some reason.
+, useSDL2 ? stdenv.hostPlatform.isDarwin # TODO: CoreAudio fails to initialize with SDL 1.x for some reason.
 }:
 
 stdenv.mkDerivation rec {
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
 
   sourceRoot = "${pname}-${version}/Quake";
 
-  patches = lib.optionals stdenv.isDarwin [
+  patches = lib.optionals stdenv.hostPlatform.isDarwin [
     # Makes Darwin Makefile use system libraries instead of ones from app bundle
     ./quakespasm-darwin-makefile-improvements.patch
   ];
@@ -28,9 +28,9 @@ stdenv.mkDerivation rec {
   buildInputs = [
     gzip libvorbis libmad flac libopus opusfile libogg libxmp
     (if useSDL2 then SDL2 else SDL)
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     Cocoa CoreAudio IOKit OpenGL
-  ] ++ lib.optionals (stdenv.isDarwin && useSDL2) [
+  ] ++ lib.optionals (stdenv.hostPlatform.isDarwin && useSDL2) [
     CoreFoundation
   ];
 
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
     "USE_SDL2=1"
   ];
 
-  makefile = if (stdenv.isDarwin) then "Makefile.darwin" else "Makefile";
+  makefile = if (stdenv.hostPlatform.isDarwin) then "Makefile.darwin" else "Makefile";
 
   preInstall = ''
     mkdir -p "$out/bin"
@@ -60,7 +60,7 @@ stdenv.mkDerivation rec {
     substituteInPlace Makefile.darwin --replace "/usr/local/games" "$out/bin"
   '';
 
-  postInstall = lib.optionalString stdenv.isDarwin ''
+  postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
     # Let's build app bundle
     mkdir -p $out/Applications/Quake.app/Contents/MacOS
     mkdir -p $out/Applications/Quake.app/Contents/Resources
diff --git a/pkgs/games/quakespasm/vulkan.nix b/pkgs/games/quakespasm/vulkan.nix
index 32428107d850a..d4fdc41b4a326 100644
--- a/pkgs/games/quakespasm/vulkan.nix
+++ b/pkgs/games/quakespasm/vulkan.nix
@@ -47,14 +47,14 @@ stdenv.mkDerivation rec {
     libvorbis
     opusfile
     vulkan-loader
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     moltenvk
     vulkan-headers
   ];
 
   buildFlags = [ "DO_USERDIRS=1" ];
 
-  env = lib.optionalAttrs stdenv.isDarwin {
+  env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
     NIX_CFLAGS_COMPILE = lib.concatStringsSep " " [
       "-Wno-error=unused-but-set-variable"
       "-Wno-error=implicit-const-int-float-conversion"
@@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
     cp vkquake "$out/bin"
   '';
 
-  postFixup = lib.optionalString (!stdenv.isDarwin) ''
+  postFixup = lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
     patchelf $out/bin/vkquake \
       --add-rpath ${lib.makeLibraryPath [ vulkan-loader ]}
   '';
diff --git a/pkgs/games/quantumminigolf/default.nix b/pkgs/games/quantumminigolf/default.nix
index c91fb8b28c538..b7e8feae24286 100644
--- a/pkgs/games/quantumminigolf/default.nix
+++ b/pkgs/games/quantumminigolf/default.nix
@@ -36,6 +36,6 @@ stdenv.mkDerivation rec {
     maintainers = with maintainers; [ raskin ];
     platforms = platforms.linux;
     # never built on aarch64-linux since first introduction in nixpkgs
-    broken = stdenv.isLinux && stdenv.isAarch64;
+    broken = stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64;
   };
 }
diff --git a/pkgs/games/randtype/default.nix b/pkgs/games/randtype/default.nix
index f7e6ee06ceac0..ba5c40367ec0b 100644
--- a/pkgs/games/randtype/default.nix
+++ b/pkgs/games/randtype/default.nix
@@ -28,6 +28,6 @@ stdenv.mkDerivation rec {
     maintainers = with maintainers; [ dandellion ];
     license = licenses.gpl2Only;
     platforms = platforms.unix;
-    broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/randtype.x86_64-darwin
+    broken = stdenv.hostPlatform.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/randtype.x86_64-darwin
   };
 }
diff --git a/pkgs/games/raylib-games/default.nix b/pkgs/games/raylib-games/default.nix
index 7a0d80a4c5e67..cad4424a30885 100644
--- a/pkgs/games/raylib-games/default.nix
+++ b/pkgs/games/raylib-games/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
   };
 
   buildInputs = [ raylib ]
-    ++ lib.optionals stdenv.isDarwin [ Cocoa ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ Cocoa ];
 
   configurePhase = ''
     runHook preConfigure
diff --git a/pkgs/games/rpg-cli/default.nix b/pkgs/games/rpg-cli/default.nix
index cdd6eb0e574a3..f6c3249c72594 100644
--- a/pkgs/games/rpg-cli/default.nix
+++ b/pkgs/games/rpg-cli/default.nix
@@ -2,16 +2,16 @@
 
 rustPlatform.buildRustPackage rec {
   pname = "rpg-cli";
-  version = "1.0.1";
+  version = "1.2.0";
 
   src = fetchFromGitHub {
     owner = "facundoolano";
     repo = pname;
     rev = version;
-    sha256 = "sha256-rhG/EK68PWvQYoZdjhk0w7oNmh/QiTaAt4/WgEkgxEA=";
+    sha256 = "sha256-xNkM8qN9vg/WGRR/96aCQRVjIbSdSs2845l6oE6+tzg=";
   };
 
-  cargoHash = "sha256-YXQohmDmkClziaLkL2N4cGURZ0tewyt7BuNY4hS+a4w=";
+  cargoHash = "sha256-AiNyyLEpVhNhDGq2vngna1ZJmPiI0rFT00gj7vXOW20=";
 
   # tests assume the authors macbook, and thus fail
   doCheck = false;
diff --git a/pkgs/games/scummvm/default.nix b/pkgs/games/scummvm/default.nix
index 2252146679b24..6c6fc7fac0aed 100644
--- a/pkgs/games/scummvm/default.nix
+++ b/pkgs/games/scummvm/default.nix
@@ -16,9 +16,9 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ nasm ];
 
-  buildInputs = lib.optionals stdenv.isLinux [
+  buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
     alsa-lib libGLU libGL
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     Cocoa AudioToolbox Carbon CoreMIDI AudioUnit
   ] ++ [
     curl freetype flac fluidsynth libjpeg libmad libmpeg2 libogg libtheora libvorbis SDL2 zlib
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
   # They use 'install -s', that calls the native strip instead of the cross
   postConfigure = ''
     sed -i "s/-c -s/-c -s --strip-program=''${STRIP@Q}/" ports.mk
-  '' + lib.optionalString stdenv.isDarwin ''
+  '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
     substituteInPlace config.mk \
       --replace x86_64-apple-darwin-ranlib ${cctools}/bin/ranlib \
       --replace aarch64-apple-darwin-ranlib ${cctools}/bin/ranlib
diff --git a/pkgs/games/shattered-pixel-dungeon/rat-king-adventure/default.nix b/pkgs/games/shattered-pixel-dungeon/rat-king-adventure/default.nix
index fcdf31cf94ff8..74b163bdfe7de 100644
--- a/pkgs/games/shattered-pixel-dungeon/rat-king-adventure/default.nix
+++ b/pkgs/games/shattered-pixel-dungeon/rat-king-adventure/default.nix
@@ -4,13 +4,13 @@
 
 callPackage ../generic.nix rec {
   pname = "rat-king-adventure";
-  version = "1.5.3";
+  version = "2.0.0";
 
   src = fetchFromGitHub {
     owner = "TrashboxBobylev";
     repo = "Rat-King-Adventure";
     rev = version;
-    hash = "sha256-Q/smIObu7khcRnwdT8m7+WstpPE1tbDFJcZ4OGYJ338=";
+    hash = "sha256-RobFWEqIxI2gdgbJqaUWJ9MpOcAeOGOaJlrIY2NNUs8=";
   };
 
   desktopName = "Rat King Adventure";
diff --git a/pkgs/games/shattered-pixel-dungeon/rat-king-adventure/deps.json b/pkgs/games/shattered-pixel-dungeon/rat-king-adventure/deps.json
index 231b9de371582..76260aee36368 100644
--- a/pkgs/games/shattered-pixel-dungeon/rat-king-adventure/deps.json
+++ b/pkgs/games/shattered-pixel-dungeon/rat-king-adventure/deps.json
@@ -1,51 +1,65 @@
 {
  "!comment": "This is a nixpkgs Gradle dependency lockfile. For more details, refer to the Gradle section in the nixpkgs manual.",
  "!version": 1,
+ "https://oss.sonatype.org/content/repositories/snapshots/com/badlogicgames": {
+  "gdx-controllers#gdx-controllers-core/2.2.4-20231021.200112-6/SNAPSHOT": {
+   "jar": "sha256-Gdz2J1IvDJFktUD2XeGNS0SIrOyym19X/+dCbbbe3/U=",
+   "pom": "sha256-90QW/Mtz1jbDUhKjdJ88ekhulZR2a7eCaEJoswmeny4="
+  },
+  "gdx-controllers#gdx-controllers-desktop/2.2.4-20231021.200114-6/SNAPSHOT": {
+   "jar": "sha256-4mhLijZwQHk2pP5qXIIzrsO9CwNC3CDti/5szclkVa8=",
+   "pom": "sha256-10+zD8flpKIPzji5NFgtYcwE5O74hSzzvvqBh84wLf4="
+  },
+  "gdx-controllers/gdx-controllers-core/2.2.4-SNAPSHOT/maven-metadata": {
+   "xml": {
+    "groupId": "com.badlogicgames.gdx-controllers",
+    "lastUpdated": "20231021200112"
+   }
+  },
+  "gdx-controllers/gdx-controllers-desktop/2.2.4-SNAPSHOT/maven-metadata": {
+   "xml": {
+    "groupId": "com.badlogicgames.gdx-controllers",
+    "lastUpdated": "20231021200114"
+   }
+  }
+ },
  "https://repo.maven.apache.org/maven2": {
-  "com/badlogicgames/gdx#gdx-backend-lwjgl3/1.11.0": {
-   "jar": "sha256-my0CJorGB5QwSi4E5ep1H62fX5bsyvFdgCOm4LF6994=",
-   "module": "sha256-o7gpPFXSp2lb60LCcKrfKpQcK4NqQL8Ob4W6OOY0VwY=",
-   "pom": "sha256-wa55d83hp9muWlhfDe8Ap2d4LzcR5/+RYTX2UPA2HOo="
+  "com/badlogicgames/gdx#gdx-backend-lwjgl3/1.12.1": {
+   "jar": "sha256-B3OwjHfBoHcJPFlyy4u2WJuRe4ZF/+tKh7gKsDg41o0=",
+   "module": "sha256-9O7d2ip5+E6OiwN47WWxC8XqSX/mT+b0iDioCRTTyqc=",
+   "pom": "sha256-IRSihaCUPC2d0QzB0MVDoOWM1DXjcisTYtnaaxR9SRo="
   },
-  "com/badlogicgames/gdx#gdx-freetype-platform/1.11.0": {
-   "pom": "sha256-a5PHPPIyrqNpnueP5GEkJ14KwbsROJkXUcz96l8Au9c="
+  "com/badlogicgames/gdx#gdx-freetype-platform/1.12.1": {
+   "pom": "sha256-cAGFUunqi4o21kDX8V86OT6aMmXjJUqyMHLHhUWLBm4="
   },
-  "com/badlogicgames/gdx#gdx-freetype-platform/1.11.0/natives-desktop": {
-   "jar": "sha256-9GCzmqhP9bnWC4mT4j/zKtpWellmThTrfha7VcWk9yE="
+  "com/badlogicgames/gdx#gdx-freetype-platform/1.12.1/natives-desktop": {
+   "jar": "sha256-1g5ZN21QWpk+yLogowR3rwaQKx4pJ/8uN17/2/Ql2UE="
   },
-  "com/badlogicgames/gdx#gdx-freetype/1.11.0": {
-   "jar": "sha256-u5hP1RQ13YCN0HaSWOqzJikXG19OnkPzmvRUPh7E3yI=",
-   "module": "sha256-n5oGuAY9dyn7H94+ippXm3vuPUqevY+xrDubsj78b/M=",
-   "pom": "sha256-xkjQNIE46uOtYmScUTA8R5rr5czpsbXQeLX3rkVQG+0="
+  "com/badlogicgames/gdx#gdx-freetype/1.12.1": {
+   "jar": "sha256-rbjskAa7YdrW0pdslaHeGN5eGmUULRilgH0OUkyL8WU=",
+   "module": "sha256-HG9UGDxQFjSvGqLrKEkE7YnVvqtURs7FyqWwunHdXKE=",
+   "pom": "sha256-pLaMZBcEufzo+xszIlcUPJSYJJQg1uY6rm7tb6fHyT8="
   },
   "com/badlogicgames/gdx#gdx-jnigen-loader/2.3.1": {
    "jar": "sha256-ZJDdoiWmHHYCwnu+xOSBE3/1lfjOCy3bpBTww0Bq7mA=",
    "module": "sha256-nNWFK9nlHTbRJxrypGzZfOwk5XEHblQTbsmtNxhGua8=",
    "pom": "sha256-7e2XZPzSpbw8peeAUEHppiAZ+ovkNLWZ8D1JR+KkQng="
   },
-  "com/badlogicgames/gdx#gdx-platform/1.11.0": {
-   "pom": "sha256-8cBBk8LQnXP8lVNQL05ZFMIOgDWrdpoZ0z4bxJJ0AkA="
-  },
-  "com/badlogicgames/gdx#gdx-platform/1.11.0/natives-desktop": {
-   "jar": "sha256-yUFpxwl25LGMCL1qKWtETqiLtUlF67EtHy5DK5L4OTA="
-  },
-  "com/badlogicgames/gdx#gdx/1.11.0": {
-   "jar": "sha256-IxU8Z+GVYGROD6EjUjK12F7kHPKJKBwtp+yMKONXULk=",
-   "module": "sha256-twUVE1CLWninINOZQrsifRvrOrzgBpskstIAA2TPbbM=",
-   "pom": "sha256-2W6H3BZixRugifIY1Cy3/U3b3sZQiytosvCsZ5dvJSU="
+  "com/badlogicgames/gdx#gdx-platform/1.12.1": {
+   "pom": "sha256-bZhlcVVYfr/+qIAG20v12CgcyUetGduKZP28TnOzkZc="
   },
-  "com/badlogicgames/gdx-controllers#gdx-controllers-core/2.2.2": {
-   "jar": "sha256-DKa7jeeMTIY2ycrjhvrAU4LdMp9y1xCU+62wL89aEAQ=",
-   "pom": "sha256-Y0QV6aRkzGOr46Gb6+AYM2OdS95sUt2zIoaOQduz724="
+  "com/badlogicgames/gdx#gdx-platform/1.12.1/natives-desktop": {
+   "jar": "sha256-P+utqUwiNjYQkXufuMJLD55h4+bGnHO9DTUDhYTA4e0="
   },
-  "com/badlogicgames/gdx-controllers#gdx-controllers-desktop/2.2.2": {
-   "jar": "sha256-oJnxlAyrkj1QtnHH4uK6HkXq44+mxdzq6piktPUqTl0=",
-   "pom": "sha256-ZAhAV2hHVAbq8aLVysozRiKXIYdZmkssHWSOf+rarn8="
+  "com/badlogicgames/gdx#gdx/1.12.1": {
+   "jar": "sha256-jTIJ6UghH96c2swrAfrO0yPlSKpS73jlx2CEWoh0aXA=",
+   "module": "sha256-7Th6fCSDcEBGAyOsXYZIZwKAPw88K1h448x4If03n6o=",
+   "pom": "sha256-Qg9vfLMYtQsglKsHYme67w6bBlI0yHqWCqkvtCEYpZY="
   },
-  "com/badlogicgames/jamepad#jamepad/2.0.20.0": {
-   "jar": "sha256-6fFqB9SpRCSs0DiOw6P+TsZLfhiWxlgUwv9rRisTs2Y=",
-   "module": "sha256-vXFX36GUJsdj2VgYbnHR3+lKnBRgBeEI9pwUameDrmY=",
-   "pom": "sha256-+gwaoDndosNqw/VslH3vLEOptLnkbCPhrqddHQaZ3eQ="
+  "com/badlogicgames/jamepad#jamepad/2.26.5.0": {
+   "jar": "sha256-sO+RC6Uxyt/gQYSWow2Hy6xGAhsGJUf1tZR+A1Q1cRo=",
+   "module": "sha256-KGmFPVwJdU2vuY9u6veZLc2Q6K3uFxL/bgjmUgBKflA=",
+   "pom": "sha256-Up7mQ8lbw+6SfuSnRqwFaOQSnbb5dscD82IjN9/6Inc="
   },
   "com/badlogicgames/jlayer#jlayer/1.0.1-gdx": {
    "jar": "sha256-qrze3C4/pBxOE4hwUj10MzfxiZMQgGMLoaIoVTjNAPs=",
@@ -59,174 +73,174 @@
    "jar": "sha256-gT835IIPGFTopOtPgN+UvxsfLsbDtyaS8jq5pVYlavY=",
    "pom": "sha256-ZMFVQ6PV2yeaIK6w36A0oqecIVn4zUAd6kj/DyNMGN0="
   },
-  "org/lwjgl#lwjgl-glfw/3.3.1": {
-   "jar": "sha256-CLvDTrdS+GPjf4OrHHsMIvfLJtD4+wpKSoxgKKxFs4U=",
-   "pom": "sha256-TKQrQ8iqDodIWWB0d0C5lFqqH99+QTTm+iTo+d8cF2A="
+  "org/lwjgl#lwjgl-glfw/3.3.3": {
+   "jar": "sha256-vtx1f9KxslUUbbJrdLnL0fz1ZEuJtHsQT6chx0FgQlk=",
+   "pom": "sha256-fJuPWGrEz36esvNnrphUzK7i2Nf2LiOHxJ0sGvrtirM="
   },
-  "org/lwjgl#lwjgl-glfw/3.3.1/natives-linux": {
-   "jar": "sha256-Ze0Ev/fQf+ybf958OxHEBShsjWbk609Mm3kuJn7OWwY="
+  "org/lwjgl#lwjgl-glfw/3.3.3/natives-linux": {
+   "jar": "sha256-uDBgYrF3QfNCaQiHUUIfGsIaWXv7vQxsYSJjAc3nRLg="
   },
-  "org/lwjgl#lwjgl-glfw/3.3.1/natives-linux-arm32": {
-   "jar": "sha256-hOvo8klGPrF84PrpnYsto8G/kcjUEHOjtYNFd7dS4/s="
+  "org/lwjgl#lwjgl-glfw/3.3.3/natives-linux-arm32": {
+   "jar": "sha256-3Z1NZxT8k1nUfdoNR8HYyLvkmQG393wj/Kepyb/CmFg="
   },
-  "org/lwjgl#lwjgl-glfw/3.3.1/natives-linux-arm64": {
-   "jar": "sha256-IgDyzcENHaZ215o+oFybpVnaCZUFwbdWtu0iL2FagSA="
+  "org/lwjgl#lwjgl-glfw/3.3.3/natives-linux-arm64": {
+   "jar": "sha256-zGE5yD95nQ4UhOpMIByM5tV8jHokSlIXEWqAax60F5s="
   },
-  "org/lwjgl#lwjgl-glfw/3.3.1/natives-macos": {
-   "jar": "sha256-G2z/nmSKci7gzBRmlhIFKqW6gJRp+os/sh8kw6vnDek="
+  "org/lwjgl#lwjgl-glfw/3.3.3/natives-macos": {
+   "jar": "sha256-qJtVNirsnlo7vRNkYBu4WxR9trrmiJHKmiMtbPstVew="
   },
-  "org/lwjgl#lwjgl-glfw/3.3.1/natives-macos-arm64": {
-   "jar": "sha256-nHlVeHSNWPQtXUcu2A0ulpk71Psf/ABYztosYx7zmJo="
+  "org/lwjgl#lwjgl-glfw/3.3.3/natives-macos-arm64": {
+   "jar": "sha256-uUUdZ7wXyQb7goKlUi8liwIvMFaeC2LaAB1ZChe0Xhk="
   },
-  "org/lwjgl#lwjgl-glfw/3.3.1/natives-windows": {
-   "jar": "sha256-nnROy4QCnXrO2uh24lV2WRhKKa/uVeRT9KslZzSb+Ek="
+  "org/lwjgl#lwjgl-glfw/3.3.3/natives-windows": {
+   "jar": "sha256-mBVbRR38b1hQid7HehL5wFeJxNzrjaRy+dMIFgEBpw0="
   },
-  "org/lwjgl#lwjgl-glfw/3.3.1/natives-windows-x86": {
-   "jar": "sha256-pYAgBm4ePVP/xMf7ShWMDLP/tPM6rrPlTSVScyGUxBI="
+  "org/lwjgl#lwjgl-glfw/3.3.3/natives-windows-x86": {
+   "jar": "sha256-lkZVXUBfDSo6lXa1BvV8FjKvZPaaiuWMsESK4EqceCQ="
   },
-  "org/lwjgl#lwjgl-jemalloc/3.3.1": {
-   "jar": "sha256-7kn8Co2UVkUuVM1vd3gj7aZm4sY/wU1lsv0sws/tXb4=",
-   "pom": "sha256-+ZSGEVVV8RPaHOOs1f7LyWk7X9o1P/era9Lj1//dsn4="
+  "org/lwjgl#lwjgl-jemalloc/3.3.3": {
+   "jar": "sha256-6Z4xJp5meKS/xi7yTFCkgcAcvdAEhh7Omlm6EnaMZRY=",
+   "pom": "sha256-IJuMfX+cGXLVyNX5zhmjUW/5BxRD0N+Khm2hNDvS46k="
   },
-  "org/lwjgl#lwjgl-jemalloc/3.3.1/natives-linux": {
-   "jar": "sha256-m3mvXH/Q2UkG7h0qU6NCCidQfWYiS0/0a59ncmRd7TQ="
+  "org/lwjgl#lwjgl-jemalloc/3.3.3/natives-linux": {
+   "jar": "sha256-TkoT1wFdQmBbvPfvn66tRt6sZAnkN3qO1K6oFfFGNLM="
   },
-  "org/lwjgl#lwjgl-jemalloc/3.3.1/natives-linux-arm32": {
-   "jar": "sha256-Bj8Lsu2V5d4q0G4Q0xJ/hJDdviBKyj5qOc5C3pF4TF8="
+  "org/lwjgl#lwjgl-jemalloc/3.3.3/natives-linux-arm32": {
+   "jar": "sha256-5IM/wmIeLnMCBXPmKZcJIPHNHfmE/hyc7bszSNzDeG8="
   },
-  "org/lwjgl#lwjgl-jemalloc/3.3.1/natives-linux-arm64": {
-   "jar": "sha256-X4nVRq4fr1Gv+/sMZBR60swze/ajLwv4fEbTTDQvxdU="
+  "org/lwjgl#lwjgl-jemalloc/3.3.3/natives-linux-arm64": {
+   "jar": "sha256-44PVJBwNR/QBKnU+C//+Ra/DDQBiGbm9iQN1ahA3ibU="
   },
-  "org/lwjgl#lwjgl-jemalloc/3.3.1/natives-macos": {
-   "jar": "sha256-B6qwMJQFjjiph2upM54IoiQDlO+Ii35/z9R2I1j22Wg="
+  "org/lwjgl#lwjgl-jemalloc/3.3.3/natives-macos": {
+   "jar": "sha256-ICTapcaqQHhmQUi3OQ+4sjHyNw6g4X1AeJTbp+nlZOw="
   },
-  "org/lwjgl#lwjgl-jemalloc/3.3.1/natives-macos-arm64": {
-   "jar": "sha256-500OE6wC9BAsIMF/DUFmCK2FNDSV7K4wAp32VousLSc="
+  "org/lwjgl#lwjgl-jemalloc/3.3.3/natives-macos-arm64": {
+   "jar": "sha256-Y5Vuokb/ZKqpzg4dbjzK1obPv5N9H81suNX0T2OCFgw="
   },
-  "org/lwjgl#lwjgl-jemalloc/3.3.1/natives-windows": {
-   "jar": "sha256-Il8331UAYUZ1vprLYnjLbJyAo0kmR5iyz8fsQ08e1HI="
+  "org/lwjgl#lwjgl-jemalloc/3.3.3/natives-windows": {
+   "jar": "sha256-mUnI5JmYvQyHjYQohAEfE4PihRAFCR4LK897dnG4SOs="
   },
-  "org/lwjgl#lwjgl-jemalloc/3.3.1/natives-windows-x86": {
-   "jar": "sha256-Y5uy113z3Vnqewv4uEfgr1cHRpTXk5ILoclTeJeyw9g="
+  "org/lwjgl#lwjgl-jemalloc/3.3.3/natives-windows-x86": {
+   "jar": "sha256-2bTgbiqEIFWD+wVEDSI4OFqRywGgYN2x03YiOuIl8Uo="
   },
-  "org/lwjgl#lwjgl-openal/3.3.1": {
-   "jar": "sha256-cyXuG5GooQwGJsabVXqI8t9qwb3KDlLiqS0yQknyytA=",
-   "pom": "sha256-+ZzowctqhyXSbdyzNFxAPNu8x8qO6WYIu/PCxP2WaiE="
+  "org/lwjgl#lwjgl-openal/3.3.3": {
+   "jar": "sha256-rg6Cdnys8Ikh9Xj7qdhHU93rAM6toFEKK0qIK+KPv5U=",
+   "pom": "sha256-f6aiEbvk5FuCmHU31kN6e1KUM07TrBbLhElV70PV5w8="
   },
-  "org/lwjgl#lwjgl-openal/3.3.1/natives-linux": {
-   "jar": "sha256-C3OB9R7cYQy2ByRdw0p2LSsht0R4FARAaKGmADu4eDg="
+  "org/lwjgl#lwjgl-openal/3.3.3/natives-linux": {
+   "jar": "sha256-kDD+2SinHqwv30zhZDzE7HJNhxDjtDe9znUL3J6YKyo="
   },
-  "org/lwjgl#lwjgl-openal/3.3.1/natives-linux-arm32": {
-   "jar": "sha256-PQ39lwowYdM7FdvxjT7u/PB83EFx6skgUU8DhkY4mmI="
+  "org/lwjgl#lwjgl-openal/3.3.3/natives-linux-arm32": {
+   "jar": "sha256-xyXRfh5GJsf0O29NCKRnSW4JECXnHxn0+x8xN8Tabmc="
   },
-  "org/lwjgl#lwjgl-openal/3.3.1/natives-linux-arm64": {
-   "jar": "sha256-RPO9inlEGNtNU+51Rtkdl9nK9/QuE+ojU2PMM18u9ig="
+  "org/lwjgl#lwjgl-openal/3.3.3/natives-linux-arm64": {
+   "jar": "sha256-q/OSSHs1h9qJtlUlAAjfSjYKL9Xh7gCr1h9/UpFSBaE="
   },
-  "org/lwjgl#lwjgl-openal/3.3.1/natives-macos": {
-   "jar": "sha256-UYTKJLjf6XJVtstVjFKb1qOImBu+VeITcY4/0r2ehuQ="
+  "org/lwjgl#lwjgl-openal/3.3.3/natives-macos": {
+   "jar": "sha256-gmSuMqyfQTxPRQGGPF9udXam/avcXQUtMoG7rMM3fx0="
   },
-  "org/lwjgl#lwjgl-openal/3.3.1/natives-macos-arm64": {
-   "jar": "sha256-wi7Lzvj+5K7q+YEDLfPiy8MKkRqQJS7awfFJeX1YdXU="
+  "org/lwjgl#lwjgl-openal/3.3.3/natives-macos-arm64": {
+   "jar": "sha256-OZJGOhao3xn2MRewiD6tDtko3U3wF/VbXk4St6JwSJo="
   },
-  "org/lwjgl#lwjgl-openal/3.3.1/natives-windows": {
-   "jar": "sha256-X35maqJMqLP7dY5ywD/7nYCbMEicantH6tZ8aXf/ZU4="
+  "org/lwjgl#lwjgl-openal/3.3.3/natives-windows": {
+   "jar": "sha256-49p8PbJcgduNQl7x49v6FQALBA1mnwCLCBPJQzOslsg="
   },
-  "org/lwjgl#lwjgl-openal/3.3.1/natives-windows-x86": {
-   "jar": "sha256-fVtbb61e+7Lowk80dgDHy8bv3RNh/TewtaEzGSMehR4="
+  "org/lwjgl#lwjgl-openal/3.3.3/natives-windows-x86": {
+   "jar": "sha256-hSyk42sf390++2zkLwi30PlXsExLz714BXsMeZ85kjE="
   },
-  "org/lwjgl#lwjgl-opengl/3.3.1": {
-   "jar": "sha256-5DbSFE86Nv/3cv1kIzMWgJt5XzkN79TVVmD8aG58KDQ=",
-   "pom": "sha256-LL9XxnqNBGatgI4aJ/4908EQ6KwC3IqyushKhRl3VUE="
+  "org/lwjgl#lwjgl-opengl/3.3.3": {
+   "jar": "sha256-UGLadQ5ffsieJ+i2e31A+oxLFokBWeNfgoEWzmyOyh4=",
+   "pom": "sha256-RDkltWQq0xjUnfrpe66c3QnkkCWzAqlLAQf8iIm+bN0="
   },
-  "org/lwjgl#lwjgl-opengl/3.3.1/natives-linux": {
-   "jar": "sha256-vPzZ+N/SKUiK2ew1PUjHsC3lyiG63UCS8ZAiOaHtBpA="
+  "org/lwjgl#lwjgl-opengl/3.3.3/natives-linux": {
+   "jar": "sha256-2COpLGooELURLaME3MarzUyxAnBvdPfpNKIjzqIFElA="
   },
-  "org/lwjgl#lwjgl-opengl/3.3.1/natives-linux-arm32": {
-   "jar": "sha256-IDPJfXY+YL2sAX/bsI06Q7vlwXqjZ7QsU3ycw6tAYY8="
+  "org/lwjgl#lwjgl-opengl/3.3.3/natives-linux-arm32": {
+   "jar": "sha256-BbGiXD+3Ipdao78siIQ3I9puEFmhktVo3e/AGkV/qkc="
   },
-  "org/lwjgl#lwjgl-opengl/3.3.1/natives-linux-arm64": {
-   "jar": "sha256-EFjEunNUzavz75NZUeKT91tJYedT13/XU13ccy4oPyg="
+  "org/lwjgl#lwjgl-opengl/3.3.3/natives-linux-arm64": {
+   "jar": "sha256-Cyt1Mn1HRRY0EjNI1VUDrgPlFVGwyIea6QyOS04aT5w="
   },
-  "org/lwjgl#lwjgl-opengl/3.3.1/natives-macos": {
-   "jar": "sha256-cR8plyiIUJJiqVfxsxOL+ptQVRnRHfbldj0cmj+LPF0="
+  "org/lwjgl#lwjgl-opengl/3.3.3/natives-macos": {
+   "jar": "sha256-TBBz0OWumZZtDvHWp3lXWEdtJH2TD9xewYZeOMuEfM4="
   },
-  "org/lwjgl#lwjgl-opengl/3.3.1/natives-macos-arm64": {
-   "jar": "sha256-29EQBE6uitvKjjx6cwUpo1FVnnTOqIe7PNbvDcAW8pU="
+  "org/lwjgl#lwjgl-opengl/3.3.3/natives-macos-arm64": {
+   "jar": "sha256-8bPx3oP5c6uuOkvDLbWyKa5dVcyA27xffIQYEv4gtf4="
   },
-  "org/lwjgl#lwjgl-opengl/3.3.1/natives-windows": {
-   "jar": "sha256-hRubWTysIeOvUd1MMD6N8/5qNEo/gda5vMGG5+VAv9o="
+  "org/lwjgl#lwjgl-opengl/3.3.3/natives-windows": {
+   "jar": "sha256-9F5fYFlrA7Lj2LmKEjyFXr0LUVTIFV3CpWuJDMyQdHc="
   },
-  "org/lwjgl#lwjgl-opengl/3.3.1/natives-windows-x86": {
-   "jar": "sha256-aD2K09DQl3puoYuIpMvn6P1PBsGrIbq+2riDCXQLzGA="
+  "org/lwjgl#lwjgl-opengl/3.3.3/natives-windows-x86": {
+   "jar": "sha256-nZnSA95OMShsrnU6HfuYE2fJNzTxlEZEunG+Uhs68sw="
   },
-  "org/lwjgl#lwjgl-stb/3.3.1": {
-   "jar": "sha256-ZOXMzi/Hy88Mg0pb6GQtniSYzj/jHBT/HfdBh4o/gSE=",
-   "pom": "sha256-dKgsbPvqhNIxAk2f2FgO2VumPCAafUeqsmO6hofDCVk="
+  "org/lwjgl#lwjgl-stb/3.3.3": {
+   "jar": "sha256-DP96pG6p1w/MIIVwFSk+qA+/Ia3Kw0YAyE2puBpEypM=",
+   "pom": "sha256-jR2kP3mIdcV5yokH95rk/D6tFVQl6pVVxvqqsT1Q5J0="
   },
-  "org/lwjgl#lwjgl-stb/3.3.1/natives-linux": {
-   "jar": "sha256-+BuZjoxdYj1XHi/NRvy4e30w7SXfd95jrsjP7bNMSnA="
+  "org/lwjgl#lwjgl-stb/3.3.3/natives-linux": {
+   "jar": "sha256-xEiQaN3G3ESxAwcZQ/gBotB2Y01LdNtHCSf4SjCCGeE="
   },
-  "org/lwjgl#lwjgl-stb/3.3.1/natives-linux-arm32": {
-   "jar": "sha256-6xnGjFt5MUjKOT24bzHQ3pVALZ9MFOUADjkYSA9iKkc="
+  "org/lwjgl#lwjgl-stb/3.3.3/natives-linux-arm32": {
+   "jar": "sha256-/WYDpBauUJJiAxV7ajQOiPX60GyAjvQcsDUBcTn+Lzw="
   },
-  "org/lwjgl#lwjgl-stb/3.3.1/natives-linux-arm64": {
-   "jar": "sha256-XOyb0h8xIAJaLIOB3BCax+yI5o5xX9fK27kPXVVfZZs="
+  "org/lwjgl#lwjgl-stb/3.3.3/natives-linux-arm64": {
+   "jar": "sha256-F/DPG45SLuprS5fBkHCznlT1+H7YT7iVhXR+QPkF4ds="
   },
-  "org/lwjgl#lwjgl-stb/3.3.1/natives-macos": {
-   "jar": "sha256-oXjWYDA5nGmJeN/kqVALdVep2vTAYeg8iHAzfpsL0+c="
+  "org/lwjgl#lwjgl-stb/3.3.3/natives-macos": {
+   "jar": "sha256-MpN6NS20usPpKqG72uKYipWOS5B6tbVXdky6gtsgupc="
   },
-  "org/lwjgl#lwjgl-stb/3.3.1/natives-macos-arm64": {
-   "jar": "sha256-DXoP8tto86vkFpFn4vSJ3/d72igvQvhuQelEvnxDbdg="
+  "org/lwjgl#lwjgl-stb/3.3.3/natives-macos-arm64": {
+   "jar": "sha256-sfZYdf2d3SgJe+YHYCniuPq168FibiHO92FhHfynFcI="
   },
-  "org/lwjgl#lwjgl-stb/3.3.1/natives-windows": {
-   "jar": "sha256-/W/3om6GRa95oNIcpz6NyeRz80AtEzPlRKgdIcpQd+c="
+  "org/lwjgl#lwjgl-stb/3.3.3/natives-windows": {
+   "jar": "sha256-0Sq4Zv4RaekkrFtNa7d2eueEKp/IZSeYaCwAabtz/PI="
   },
-  "org/lwjgl#lwjgl-stb/3.3.1/natives-windows-x86": {
-   "jar": "sha256-v3PjtRu0MOWIvRWOlsyimOmMoS8p3FzxRFwfDFw5uhs="
+  "org/lwjgl#lwjgl-stb/3.3.3/natives-windows-x86": {
+   "jar": "sha256-RkJORUWXM7JsSnsN0mlSCctpONr6OpASxqVoLJSixA4="
   },
-  "org/lwjgl#lwjgl-tinyfd/3.3.1": {
-   "jar": "sha256-SI9R7ZXw+sSNHYfLDjusCMAS3L9u88FohoXXCM28zVY=",
-   "pom": "sha256-78RtVita7rFRzJnBhn5KUeVLzwWs+2EwOtZUh45Nyq8="
+  "org/lwjgl#lwjgl-tinyfd/3.3.3": {
+   "jar": "sha256-7gUVBU7hmj9AiEJv7p2HnrLuZXsH5QZOTiyFH2rc8Us=",
+   "pom": "sha256-LBvRGfQeZaVEYT+R5xYOAGuBkW5zpu919UkkLMTzvvI="
   },
-  "org/lwjgl#lwjgl-tinyfd/3.3.1/natives-linux": {
-   "jar": "sha256-e9cLKCM/RiGdoZiaw+n27vcuvyEc43Uv8eZFzqQYpM8="
+  "org/lwjgl#lwjgl-tinyfd/3.3.3/natives-linux": {
+   "jar": "sha256-oHb6BaTRdHYuq1hS7nLCnRSrEKVlTyf7AGZO8bUsDAU="
   },
-  "org/lwjgl#lwjgl-tinyfd/3.3.1/natives-linux-arm64": {
-   "jar": "sha256-pLai7OGbhNkzyXmwx1+46BgCpoLVJEmWXDP0xaH+cAw="
+  "org/lwjgl#lwjgl-tinyfd/3.3.3/natives-linux-arm64": {
+   "jar": "sha256-gNNOdtFcBJUXRBSIMpCDkdqLFPaKAwtksLQHAqNzkdc="
   },
-  "org/lwjgl#lwjgl-tinyfd/3.3.1/natives-macos": {
-   "jar": "sha256-H1yGorLASVqlahKnTHwvwsk1PMOKoAzBOjJAR2QcMk0="
+  "org/lwjgl#lwjgl-tinyfd/3.3.3/natives-macos": {
+   "jar": "sha256-RGXdRv35MJwM5kw1KaDaZ5L7ZxHDKB6MXbqTXmqb/Dw="
   },
-  "org/lwjgl#lwjgl-tinyfd/3.3.1/natives-macos-arm64": {
-   "jar": "sha256-EY1ViXZdZobUeDcZwt6MpmWiSX2LncKK00/RDtU0P6o="
+  "org/lwjgl#lwjgl-tinyfd/3.3.3/natives-macos-arm64": {
+   "jar": "sha256-b32XlBRlHjQ9yLiz+q3g4tnk/fmdVl1WI+EtQNuuSiI="
   },
-  "org/lwjgl#lwjgl-tinyfd/3.3.1/natives-windows": {
-   "jar": "sha256-7McVIQloBZdWnZsyIEXynBp93uxxgs9pGJ2uFUE4ucg="
+  "org/lwjgl#lwjgl-tinyfd/3.3.3/natives-windows": {
+   "jar": "sha256-AihZEfHIgXNfpNDrFB/+qv2aK7k0nZj3wfuKnLScD1g="
   },
-  "org/lwjgl#lwjgl/3.3.1": {
-   "jar": "sha256-z4P5DjL7lz/17fyk7zX1XKUbtwpXm2ofKQdE9VLo5IQ=",
-   "pom": "sha256-xMXHr6uOt4JTZqIwhsPf7droMIwRXF1iF6gm7DJLN+M="
+  "org/lwjgl#lwjgl/3.3.3": {
+   "jar": "sha256-3Jx7LUjoOW1oiV+JAv+gHkYlPeRN/pJ1M/8JRX6/7sQ=",
+   "pom": "sha256-gx1Gb8AWKUUrRhNzEeFYI8CWx9b66VKYxke5+/XWgfQ="
   },
-  "org/lwjgl#lwjgl/3.3.1/natives-linux": {
-   "jar": "sha256-Iu8q+jGhdAozfsnGgGxrjZfpMaY+LEMnDLrxT7P2/E4="
+  "org/lwjgl#lwjgl/3.3.3/natives-linux": {
+   "jar": "sha256-5mNzjFGaBvbWWYgvqOTgmvfxDpIZKe5cxUp1h/Yu1Mk="
   },
-  "org/lwjgl#lwjgl/3.3.1/natives-linux-arm32": {
-   "jar": "sha256-9rVYGOx25ewBfiW8OvbsTbe3ol56KhdW+i/6uojIZWQ="
+  "org/lwjgl#lwjgl/3.3.3/natives-linux-arm32": {
+   "jar": "sha256-cNP3SNRawTWDKplV6lGcpv7Tqn0dR+tnR8uHk2hGyUE="
   },
-  "org/lwjgl#lwjgl/3.3.1/natives-linux-arm64": {
-   "jar": "sha256-T9lq94+cKTsXAAEcfbGg7AI3xNGIPjf6vgj3To0uAiQ="
+  "org/lwjgl#lwjgl/3.3.3/natives-linux-arm64": {
+   "jar": "sha256-OXp5pdiQcobUAY0CbLw3NYxTu7aqvDoVNPGf8jt/hVg="
   },
-  "org/lwjgl#lwjgl/3.3.1/natives-macos": {
-   "jar": "sha256-9I5hCpgdylFbm75zRcx240UME0BLBS2Kw1fvCvjpCr8="
+  "org/lwjgl#lwjgl/3.3.3/natives-macos": {
+   "jar": "sha256-ApTuTi3X72vvr/r8C7maKom3YHC1zYMC89dWJLZ4bQM="
   },
-  "org/lwjgl#lwjgl/3.3.1/natives-macos-arm64": {
-   "jar": "sha256-cZfomrgKKiGDtO6SXMtE5XLwy3V6kndq34JlJpIAo2o="
+  "org/lwjgl#lwjgl/3.3.3/natives-macos-arm64": {
+   "jar": "sha256-UKycoJ5Z8FHcrPTcCyFF6ekW5qsUYzt1aUIxv+WTFKg="
   },
-  "org/lwjgl#lwjgl/3.3.1/natives-windows": {
-   "jar": "sha256-CT0T1ipkNLxla/EKOzfiUw/ZrzsLwg+OlUW+WGWdFEM="
+  "org/lwjgl#lwjgl/3.3.3/natives-windows": {
+   "jar": "sha256-XuY6GRh+/lu4dH/ST3sTJX2zSN9a1kEROjaV5D8hOVk="
   },
-  "org/lwjgl#lwjgl/3.3.1/natives-windows-x86": {
-   "jar": "sha256-6QwfnPVwGu7ymC6/CQWiuZH0YiuKf4JQ6vCHO1oKAiM="
+  "org/lwjgl#lwjgl/3.3.3/natives-windows-x86": {
+   "jar": "sha256-IqIjOCYlVOteEzyEQd7u2shNoILrO6yE0DLaT682l0k="
   },
   "org/sonatype/oss#oss-parent/7": {
    "pom": "sha256-tR+IZ8kranIkmVV/w6H96ne9+e9XRyL+kM5DailVlFQ="
diff --git a/pkgs/games/shattered-pixel-dungeon/shorter-pixel-dungeon/default.nix b/pkgs/games/shattered-pixel-dungeon/shorter-pixel-dungeon/default.nix
index a53f27fb14d07..8fb66c87b3453 100644
--- a/pkgs/games/shattered-pixel-dungeon/shorter-pixel-dungeon/default.nix
+++ b/pkgs/games/shattered-pixel-dungeon/shorter-pixel-dungeon/default.nix
@@ -4,13 +4,13 @@
 
 callPackage ../generic.nix rec {
   pname = "shorter-pixel-dungeon";
-  version = "1.4.0";
+  version = "1.5.0";
 
   src = fetchFromGitHub {
     owner = "TrashboxBobylev";
     repo = "Shorter-Pixel-Dungeon";
     rev = "Short-${version}";
-    hash = "sha256-iG90T/Ho8/JY3HgkACiBnGdbUGsVRlfxXbcNFHhzZi4=";
+    hash = "sha256-y4DKSdq0LofKxlAi6RoaF8q+QD5KrTcmCmx9cpBxGgs=";
   };
 
   desktopName = "Shorter Pixel Dungeon";
diff --git a/pkgs/games/shipwright/default.nix b/pkgs/games/shipwright/default.nix
index d214e6934b190..2ff8c063f5f0d 100644
--- a/pkgs/games/shipwright/default.nix
+++ b/pkgs/games/shipwright/default.nix
@@ -62,10 +62,10 @@ stdenv.mkDerivation (finalAttrs: {
     python3
     imagemagick
     makeWrapper
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     lsb-release
     copyDesktopItems
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     libicns
     darwin.sigtool
   ];
@@ -76,7 +76,7 @@ stdenv.mkDerivation (finalAttrs: {
     SDL2
     SDL2_net
     libpng
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     libX11
     libXrandr
     libXinerama
@@ -85,7 +85,7 @@ stdenv.mkDerivation (finalAttrs: {
     libXext
     libpulseaudio
     zenity
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     IOSurface
     Metal
     QuartzCore
@@ -100,7 +100,7 @@ stdenv.mkDerivation (finalAttrs: {
   ];
 
   env.NIX_CFLAGS_COMPILE =
-    lib.optionalString stdenv.isDarwin "-Wno-int-conversion -Wno-implicit-int";
+    lib.optionalString stdenv.hostPlatform.isDarwin "-Wno-int-conversion -Wno-implicit-int";
 
   dontAddPrefix = true;
 
@@ -114,18 +114,18 @@ stdenv.mkDerivation (finalAttrs: {
     popd
   '';
 
-  preInstall = lib.optionalString stdenv.isLinux ''
+  preInstall = lib.optionalString stdenv.hostPlatform.isLinux ''
     # Cmake likes it here for its install paths
     cp ../OTRExporter/soh.otr ..
-  '' + lib.optionalString stdenv.isDarwin ''
+  '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
     cp ../OTRExporter/soh.otr soh/soh.otr
   '';
 
-  postInstall = lib.optionalString stdenv.isLinux ''
+  postInstall = lib.optionalString stdenv.hostPlatform.isLinux ''
     mkdir -p $out/bin
     ln -s $out/lib/soh.elf $out/bin/soh
     install -Dm644 ../soh/macosx/sohIcon.png $out/share/pixmaps/soh.png
-  '' + lib.optionalString stdenv.isDarwin ''
+  '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
     # Recreate the macOS bundle (without using cpack)
     # We mirror the structure of the bundle distributed by the project
 
@@ -167,7 +167,7 @@ stdenv.mkDerivation (finalAttrs: {
     codesign -f -s - $out/Applications/soh.app/Contents/Resources/soh-macos
   '';
 
-  fixupPhase = lib.optionalString stdenv.isLinux ''
+  fixupPhase = lib.optionalString stdenv.hostPlatform.isLinux ''
     wrapProgram $out/lib/soh.elf --prefix PATH ":" ${lib.makeBinPath [ zenity ]}
   '';
 
diff --git a/pkgs/games/simutrans/default.nix b/pkgs/games/simutrans/default.nix
index 6a48c5a2caeb4..b6452819bee51 100644
--- a/pkgs/games/simutrans/default.nix
+++ b/pkgs/games/simutrans/default.nix
@@ -121,8 +121,8 @@ let
     configurePhase = let
       # Configuration as per the readme.txt and config.template
       platform =
-        if stdenv.isLinux then "linux" else
-        if stdenv.isDarwin then "mac" else throw "add your platform";
+        if stdenv.hostPlatform.isLinux then "linux" else
+        if stdenv.hostPlatform.isDarwin then "mac" else throw "add your platform";
       config = ''
         BACKEND = mixer_sdl
         COLOUR_DEPTH = 16
diff --git a/pkgs/games/sm64ex/generic.nix b/pkgs/games/sm64ex/generic.nix
index fcdd6616a506a..fd53b78042f5e 100644
--- a/pkgs/games/sm64ex/generic.nix
+++ b/pkgs/games/sm64ex/generic.nix
@@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
 
   makeFlags = [
     "VERSION=${region}"
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     "OSX_BUILD=1"
   ] ++ compileFlags;
 
diff --git a/pkgs/games/snipes/default.nix b/pkgs/games/snipes/default.nix
index f978a1b71d7b7..7212d6d816705 100644
--- a/pkgs/games/snipes/default.nix
+++ b/pkgs/games/snipes/default.nix
@@ -42,6 +42,6 @@ in stdenv.mkDerivation {
     homepage    = "https://www.vogons.org/viewtopic.php?f=7&t=49073";
     license     = licenses.free; # This reverse-engineered source code is released with the original authors' permission.
     maintainers = with maintainers; [ peterhoeg cybershadow ];
-    broken      = stdenv.isDarwin; # not supported upstream - https://github.com/Davidebyzero/Snipes/issues/8#issuecomment-433720046
+    broken      = stdenv.hostPlatform.isDarwin; # not supported upstream - https://github.com/Davidebyzero/Snipes/issues/8#issuecomment-433720046
   };
 }
diff --git a/pkgs/games/space-cadet-pinball/default.nix b/pkgs/games/space-cadet-pinball/default.nix
index 53edf5860518a..0f3009e4abe51 100644
--- a/pkgs/games/space-cadet-pinball/default.nix
+++ b/pkgs/games/space-cadet-pinball/default.nix
@@ -27,11 +27,11 @@ stdenv.mkDerivation rec {
   buildInputs = [
     SDL2
     SDL2_mixer
-  ] ++ lib.optional stdenv.isDarwin Cocoa;
+  ] ++ lib.optional stdenv.hostPlatform.isDarwin Cocoa;
 
   # Darwin needs a custom installphase since it is excluded from the cmake install
   # https://github.com/k4zmu2a/SpaceCadetPinball/blob/0f88e43ba261bc21fa5c3ef9d44969a2a079d0de/CMakeLists.txt#L221
-  installPhase = lib.optionalString stdenv.isDarwin ''
+  installPhase = lib.optionalString stdenv.hostPlatform.isDarwin ''
     runHook preInstall
     mkdir -p $out/bin
     install ../bin/SpaceCadetPinball $out/bin
diff --git a/pkgs/games/space-orbit/default.nix b/pkgs/games/space-orbit/default.nix
index 74db273bb879e..c5bd6fdf77f0c 100644
--- a/pkgs/games/space-orbit/default.nix
+++ b/pkgs/games/space-orbit/default.nix
@@ -38,7 +38,7 @@ EOF
   '';
 
   meta = with lib; {
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
     description = "Space combat simulator";
     mainProgram = "space-orbit";
     license = licenses.gpl2Plus;
diff --git a/pkgs/games/space-station-14-launcher/space-station-14-launcher.nix b/pkgs/games/space-station-14-launcher/space-station-14-launcher.nix
index d9d16a98b3f26..2679866a523b3 100644
--- a/pkgs/games/space-station-14-launcher/space-station-14-launcher.nix
+++ b/pkgs/games/space-station-14-launcher/space-station-14-launcher.nix
@@ -23,7 +23,7 @@
 , gdk-pixbuf
 }:
 let
-  version = "0.28.1";
+  version = "0.29.0";
   pname = "space-station-14-launcher";
 in
 buildDotnetModule rec {
@@ -36,7 +36,7 @@ buildDotnetModule rec {
     owner = "space-wizards";
     repo = "SS14.Launcher";
     rev = "v${version}";
-    hash = "sha256-5g/twJgQ7i6yQBYP7U6bn1UMU09WkJeolgCl+0pGT2Y=";
+    hash = "sha256-0HpHTZhGqCcSCCBk1d5923ALVCjozLn5fym4RH2Ov5Y=";
     fetchSubmodules = true;
   };
 
diff --git a/pkgs/games/steam/fhsenv.nix b/pkgs/games/steam/fhsenv.nix
index 1c92bb2617651..6a4a1e002058f 100644
--- a/pkgs/games/steam/fhsenv.nix
+++ b/pkgs/games/steam/fhsenv.nix
@@ -46,7 +46,7 @@ let
     sqlite
   ] ++ extraPkgs pkgs;
 
-  ldPath = lib.optionals stdenv.is64bit [ "/lib64" ]
+  ldPath = lib.optionals stdenv.hostPlatform.is64bit [ "/lib64" ]
   ++ [ "/lib32" ]
   ++ map (x: "/steamrt/${steam-runtime-wrapped.arch}/" + x) steam-runtime-wrapped.libs
   ++ lib.optionals (steam-runtime-wrapped-i686 != null) (map (x: "/steamrt/${steam-runtime-wrapped-i686.arch}/" + x) steam-runtime-wrapped-i686.libs);
diff --git a/pkgs/games/stockfish/default.nix b/pkgs/games/stockfish/default.nix
index 456c36784d5ff..b4531fc0015d6 100644
--- a/pkgs/games/stockfish/default.nix
+++ b/pkgs/games/stockfish/default.nix
@@ -4,11 +4,11 @@ let
     # The x86-64-modern may need to be refined further in the future
     # but stdenv.hostPlatform CPU flags do not currently work on Darwin
     # https://discourse.nixos.org/t/darwin-system-and-stdenv-hostplatform-features/9745
-    archDarwin = if stdenv.isx86_64 then "x86-64-modern" else "apple-silicon";
-    arch = if stdenv.isDarwin then archDarwin else
-           if stdenv.isx86_64 then "x86-64" else
-           if stdenv.isi686 then "x86-32" else
-           if stdenv.isAarch64 then "armv8" else
+    archDarwin = if stdenv.hostPlatform.isx86_64 then "x86-64-modern" else "apple-silicon";
+    arch = if stdenv.hostPlatform.isDarwin then archDarwin else
+           if stdenv.hostPlatform.isx86_64 then "x86-64" else
+           if stdenv.hostPlatform.isi686 then "x86-32" else
+           if stdenv.hostPlatform.isAarch64 then "armv8" else
            "unknown";
 
     # These files can be found in src/evaluate.h
diff --git a/pkgs/games/system-syzygy/default.nix b/pkgs/games/system-syzygy/default.nix
index b478259a8a9c3..d321284b74279 100644
--- a/pkgs/games/system-syzygy/default.nix
+++ b/pkgs/games/system-syzygy/default.nix
@@ -43,7 +43,7 @@ rustPlatform.buildRustPackage rec {
 
 
   meta = with lib; {
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
     description = "Story and a puzzle game, where you solve a variety of puzzle";
     mainProgram = "syzygy";
     homepage = "https://mdsteele.games/syzygy";
diff --git a/pkgs/games/taisei/default.nix b/pkgs/games/taisei/default.nix
index cb87e48da38eb..ee5712f7b7f68 100644
--- a/pkgs/games/taisei/default.nix
+++ b/pkgs/games/taisei/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
   '';
 
   meta = with lib; {
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
     description = "Free and open-source Touhou Project clone and fangame";
     mainProgram = "taisei";
     longDescription = ''
diff --git a/pkgs/games/tecnoballz/default.nix b/pkgs/games/tecnoballz/default.nix
index 0d19a2c0f7e24..b3f1914bc18ef 100644
--- a/pkgs/games/tecnoballz/default.nix
+++ b/pkgs/games/tecnoballz/default.nix
@@ -65,6 +65,6 @@ stdenv.mkDerivation (finalAttrs: {
     license = licenses.gpl3Plus;
     maintainers = with maintainers; [ fgaz ];
     platforms = platforms.all;
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
   };
 })
diff --git a/pkgs/games/teeworlds/default.nix b/pkgs/games/teeworlds/default.nix
index 505c61588e3e2..b07dbc311a2cc 100644
--- a/pkgs/games/teeworlds/default.nix
+++ b/pkgs/games/teeworlds/default.nix
@@ -51,19 +51,19 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [
     cmake
     pkg-config
-  ] ++ lib.optionals (buildClient && stdenv.isLinux) [
+  ] ++ lib.optionals (buildClient && stdenv.hostPlatform.isLinux) [
     icoutils
   ];
 
   buildInputs = [
     python3 lua5_3 zlib
     wavpack
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     Cocoa
   ] ++ lib.optionals buildClient ([
     SDL2
     freetype
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     libGLU
     alsa-lib
     libX11
@@ -73,14 +73,14 @@ stdenv.mkDerivation rec {
     "-DCLIENT=${if buildClient then "ON" else "OFF"}"
   ];
 
-  postInstall = lib.optionalString buildClient (lib.optionalString stdenv.isLinux ''
+  postInstall = lib.optionalString buildClient (lib.optionalString stdenv.hostPlatform.isLinux ''
     # Convert and install desktop icon
     mkdir -p $out/share/pixmaps
     icotool --extract --index 1 --output $out/share/pixmaps/teeworlds.png $src/other/icons/teeworlds.ico
 
     # Install menu item
     install -D $src/other/teeworlds.desktop $out/share/applications/teeworlds.desktop
-  '' + lib.optionalString stdenv.isDarwin ''
+  '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
     mkdir -p "$out/Applications/teeworlds.app/Contents/MacOS"
     mkdir -p "$out/Applications/teeworlds.app/Contents/Resources"
 
diff --git a/pkgs/games/tuxpaint/default.nix b/pkgs/games/tuxpaint/default.nix
index 90c99ed60e270..f0e13bc9be686 100644
--- a/pkgs/games/tuxpaint/default.nix
+++ b/pkgs/games/tuxpaint/default.nix
@@ -28,13 +28,14 @@ let
     url = "mirror://sourceforge/project/tuxpaint/tuxpaint-stamps/2024-01-29/tuxpaint-stamps-2024.01.29.tar.gz";
     hash = "sha256-GwJx9tqaX7I623tJQYO53iiaApZtYsTLQw2ptBIFlKk=";
   };
+
 in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation (finalAttrs: {
   version = "0.9.32";
   pname = "tuxpaint";
 
   src = fetchurl {
-    url = "mirror://sourceforge/tuxpaint/${version}/tuxpaint-${version}.tar.gz";
+    url = "mirror://sourceforge/tuxpaint/${finalAttrs.version}/tuxpaint-${finalAttrs.version}.tar.gz";
     hash = "sha256-CcziIkFIHcE2D8S8XU2h0xgV16JWO56fohemcrqXS/I=";
   };
 
@@ -110,5 +111,6 @@ stdenv.mkDerivation rec {
     license = lib.licenses.gpl3Plus;
     maintainers = with lib.maintainers; [ woffs ];
     platforms = lib.platforms.linux;
+    mainProgram = "tuxpaint";
   };
-}
+})
diff --git a/pkgs/games/uhexen2/default.nix b/pkgs/games/uhexen2/default.nix
index 1d44b16c3aef9..a0922a145703d 100644
--- a/pkgs/games/uhexen2/default.nix
+++ b/pkgs/games/uhexen2/default.nix
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
   '';
 
   meta = with lib; {
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
     description = "Cross-platform port of Hexen II game";
     longDescription = ''
       Hammer of Thyrion (uHexen2) is a cross-platform port of Raven Software's Hexen II source.
diff --git a/pkgs/games/vessel/default.nix b/pkgs/games/vessel/default.nix
index 42408cd042aa0..ddbbf68bbc089 100644
--- a/pkgs/games/vessel/default.nix
+++ b/pkgs/games/vessel/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
     directory where you saved it.
   '';
 
-  src = if (stdenv.isi686) then
+  src = if (stdenv.hostPlatform.isi686) then
     requireFile {
       message = goBuyItNow;
       name = "vessel-${version}-bin";
diff --git a/pkgs/games/voxelands/default.nix b/pkgs/games/voxelands/default.nix
index bac78ab72f35b..b1b30a7e769db 100644
--- a/pkgs/games/voxelands/default.nix
+++ b/pkgs/games/voxelands/default.nix
@@ -69,6 +69,6 @@ stdenv.mkDerivation rec {
     license = licenses.gpl3Plus;
     platforms = platforms.linux;
     maintainers = [ ];
-    broken = stdenv.isAarch64;  # build fails with "libIrrlicht.so: undefined reference to `png_init_filter_functions_neon'"
+    broken = stdenv.hostPlatform.isAarch64;  # build fails with "libIrrlicht.so: undefined reference to `png_init_filter_functions_neon'"
   };
 }
diff --git a/pkgs/games/warsow/engine.nix b/pkgs/games/warsow/engine.nix
index 5bc2ef7dbd91f..71bf581f14fad 100644
--- a/pkgs/games/warsow/engine.nix
+++ b/pkgs/games/warsow/engine.nix
@@ -54,6 +54,6 @@ stdenv.mkDerivation rec {
     license = licenses.gpl2Plus;
     maintainers = with maintainers; [ astsmtl abbradar ];
     platforms = platforms.linux;
-    broken = stdenv.isAarch64;
+    broken = stdenv.hostPlatform.isAarch64;
   };
 }
diff --git a/pkgs/games/warzone2100/default.nix b/pkgs/games/warzone2100/default.nix
index 45b2123e443af..81ab98e67bc9b 100644
--- a/pkgs/games/warzone2100/default.nix
+++ b/pkgs/games/warzone2100/default.nix
@@ -68,7 +68,7 @@ stdenv.mkDerivation (finalAttrs: {
     freetype
     harfbuzz
     sqlite
-  ] ++ lib.optionals (!stdenv.isDarwin) [
+  ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
     vulkan-headers
     vulkan-loader
   ];
@@ -102,7 +102,7 @@ stdenv.mkDerivation (finalAttrs: {
     #
     # Alternatively, we could have set CMAKE_INSTALL_BINDIR to "bin".
     "-DCMAKE_INSTALL_DATAROOTDIR=${placeholder "out"}/share"
-  ] ++ lib.optional stdenv.isDarwin "-P../configure_mac.cmake";
+  ] ++ lib.optional stdenv.hostPlatform.isDarwin "-P../configure_mac.cmake";
 
   postInstall = lib.optionalString withVideos ''
     cp ${sequences_src} $out/share/warzone2100/sequences.wz
@@ -141,6 +141,6 @@ stdenv.mkDerivation (finalAttrs: {
     platforms = platforms.all;
     # configure_mac.cmake tries to download stuff
     # https://github.com/Warzone2100/warzone2100/blob/master/macosx/README.md
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
   };
 })
diff --git a/pkgs/games/wesnoth/default.nix b/pkgs/games/wesnoth/default.nix
index 01dd8ceaca173..5017216aecc43 100644
--- a/pkgs/games/wesnoth/default.nix
+++ b/pkgs/games/wesnoth/default.nix
@@ -20,13 +20,13 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ SDL2 SDL2_image SDL2_mixer SDL2_net SDL2_ttf pango gettext boost
                   libvorbis fribidi dbus libpng pcre openssl icu lua curl ]
-                ++ lib.optionals stdenv.isDarwin [ Cocoa Foundation];
+                ++ lib.optionals stdenv.hostPlatform.isDarwin [ Cocoa Foundation];
 
   cmakeFlags = [
     "-DENABLE_SYSTEM_LUA=ON"
   ];
 
-  NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-framework AppKit";
+  NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-framework AppKit";
 
   meta = with lib; {
     description = "Battle for Wesnoth, a free, turn-based strategy game with a fantasy theme";
diff --git a/pkgs/games/widelands/default.nix b/pkgs/games/widelands/default.nix
index c2d7e48e456dd..e34e23ab60354 100644
--- a/pkgs/games/widelands/default.nix
+++ b/pkgs/games/widelands/default.nix
@@ -72,12 +72,12 @@ stdenv.mkDerivation rec {
     libSM  # XXX: these should be propagated by SDL2?
     libICE
   ]
-  ++ lib.optional stdenv.isLinux libXext
-  ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
+  ++ lib.optional stdenv.hostPlatform.isLinux libXext
+  ++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [
     Cocoa
   ]);
 
-  postInstall = lib.optionalString stdenv.isLinux ''
+  postInstall = lib.optionalString stdenv.hostPlatform.isLinux ''
     install -Dm444 -t $out/share/applications ../xdg/org.widelands.Widelands.desktop
 
     for s in 16 32 48 64 128; do
diff --git a/pkgs/games/zaz/default.nix b/pkgs/games/zaz/default.nix
index 3af6f069a5aa1..dca1d74a43ff1 100644
--- a/pkgs/games/zaz/default.nix
+++ b/pkgs/games/zaz/default.nix
@@ -48,7 +48,7 @@ stdenv.mkDerivation (finalAttrs: {
   ];
 
   meta = with lib; {
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
     description = "Puzzle game about arranging balls in triplets, like Luxor, Zuma, or Puzzle Bobble";
     homepage = "https://zaz.sourceforge.net/";
     license = licenses.gpl3;