summary refs log tree commit diff
path: root/pkgs/games/ut2004
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/ut2004')
-rw-r--r--pkgs/games/ut2004/demo.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/games/ut2004/demo.nix b/pkgs/games/ut2004/demo.nix
index 1a7ea2da75b..9aea992ac75 100644
--- a/pkgs/games/ut2004/demo.nix
+++ b/pkgs/games/ut2004/demo.nix
@@ -2,8 +2,8 @@
 
 let
   arch =
-    if stdenv.system == "x86_64-linux" then "amd64"
-    else if stdenv.system == "i686-linux" then "x86"
+    if stdenv.hostPlatform.system == "x86_64-linux" then "amd64"
+    else if stdenv.hostPlatform.system == "i686-linux" then "x86"
     else throw "Unsupported architecture";
 
 in stdenv.mkDerivation rec {