summary refs log tree commit diff
path: root/pkgs/games/cutemaze/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/cutemaze/default.nix')
-rw-r--r--pkgs/games/cutemaze/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/games/cutemaze/default.nix b/pkgs/games/cutemaze/default.nix
index f63cbef83d2..19fcbb2443d 100644
--- a/pkgs/games/cutemaze/default.nix
+++ b/pkgs/games/cutemaze/default.nix
@@ -13,12 +13,16 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ qtsvg ];
 
+  postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
+    mkdir -p $out/Applications
+    mv CuteMaze.app $out/Applications
+  '';
+
   meta = with stdenv.lib; {
     homepage = https://gottcode.org/cutemaze/;
     description = "Simple, top-down game in which mazes are randomly generated";
     license = licenses.gpl3Plus;
     maintainers = with maintainers; [ dotlambda ];
-    # TODO: add darwin once tested
-    platforms = with platforms; linux;
+    platforms = platforms.unix;
   };
 }