about summary refs log tree commit diff
path: root/pkgs/games/freedroidrpg/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/freedroidrpg/default.nix')
-rw-r--r--pkgs/games/freedroidrpg/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/freedroidrpg/default.nix b/pkgs/games/freedroidrpg/default.nix
index b41b91855ee0..8c9b3e0cbf0d 100644
--- a/pkgs/games/freedroidrpg/default.nix
+++ b/pkgs/games/freedroidrpg/default.nix
@@ -20,7 +20,7 @@ in stdenv.mkDerivation {
 
   buildInputs = [
     glew SDL SDL_image SDL_gfx SDL_mixer libogg libvorbis lua5_3 libjpeg libpng zlib
-  ] ++ lib.optional stdenv.isDarwin libiconv;
+  ] ++ lib.optional stdenv.hostPlatform.isDarwin libiconv;
 
   enableParallelBuilding = true;