about summary refs log tree commit diff
path: root/pkgs/games/fheroes2/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/fheroes2/default.nix')
-rw-r--r--pkgs/games/fheroes2/default.nix2
1 files changed, 1 insertions, 1 deletions
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"