about summary refs log tree commit diff
path: root/pkgs/games/quake2/yquake2/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/quake2/yquake2/default.nix')
-rw-r--r--pkgs/games/quake2/yquake2/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/games/quake2/yquake2/default.nix b/pkgs/games/quake2/yquake2/default.nix
index 4135706c9813..63e07c040455 100644
--- a/pkgs/games/quake2/yquake2/default.nix
+++ b/pkgs/games/quake2/yquake2/default.nix
@@ -13,25 +13,25 @@ let
 
   yquake2 = stdenv.mkDerivation rec {
     pname = "yquake2";
-    version = "8.40";
+    version = "8.41";
 
     src = fetchFromGitHub {
       owner = "yquake2";
       repo = "yquake2";
       rev = "QUAKE2_${builtins.replaceStrings ["."] ["_"] version}";
-      sha256 = "sha256-licz659DFS56/5P/hmPSE0YuVPTp1r4yrzS7FIg4Okc=";
+      sha256 = "sha256-8xvY8XYZJa/gAVcxR+ffpE8naUTbGyM8AyAdpG6nKtA=";
     };
 
     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 = [