about summary refs log tree commit diff
path: root/pkgs/games/opendungeons/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/opendungeons/default.nix')
-rw-r--r--pkgs/games/opendungeons/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/opendungeons/default.nix b/pkgs/games/opendungeons/default.nix
index 3562aa8c6f89..a66504fa1d83 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
   '';