summary refs log tree commit diff
path: root/pkgs/games/fairymax/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/fairymax/default.nix')
-rw-r--r--pkgs/games/fairymax/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/games/fairymax/default.nix b/pkgs/games/fairymax/default.nix
index 5c7cad879d1..d7433950451 100644
--- a/pkgs/games/fairymax/default.nix
+++ b/pkgs/games/fairymax/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
     cp ${ini} fmax.ini
   '';
   buildPhase = ''
-    gcc *.c -o fairymax -DINI_FILE='"'"$out/share/fairymax/fmax.ini"'"'
+    $CC *.c -Wno-return-type -o fairymax -DINI_FILE='"'"$out/share/fairymax/fmax.ini"'"'
   '';
   installPhase = ''
     mkdir -p "$out"/{bin,share/fairymax}
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
     '';
     license = lib.licenses.free ;
     maintainers = [lib.maintainers.raskin];
-    platforms = lib.platforms.linux;
+    platforms = lib.platforms.all;
     homepage = "http://home.hccnet.nl/h.g.muller/dwnldpage.html";
   };
 }