about summary refs log tree commit diff
path: root/pkgs/games/arx-libertatis/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/arx-libertatis/default.nix')
-rw-r--r--pkgs/games/arx-libertatis/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/games/arx-libertatis/default.nix b/pkgs/games/arx-libertatis/default.nix
index 334219a28901..9dbe2ce7a7df 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"