diff options
author | Orivej Desh <orivej@gmx.fr> | 2017-12-14 12:05:09 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2017-12-14 12:05:09 +0000 |
commit | 1cfad78781dbf7dd3e67a9c1fbbe8f5bfa16bab4 (patch) | |
tree | 014107eb760fdfe5ad3894ecc0da83f3ee88cf06 /pkgs/games/cutemaze | |
parent | c8880764fbd3a3c47c3d390071ca04833d690c23 (diff) |
cutemaze: support darwin
Diffstat (limited to 'pkgs/games/cutemaze')
-rw-r--r-- | pkgs/games/cutemaze/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/games/cutemaze/default.nix b/pkgs/games/cutemaze/default.nix index f63cbef83d23..19fcbb2443d2 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; }; } |