about summary refs log tree commit diff
path: root/pkgs/games/itch
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2017-09-13 06:47:04 +0200
committeraszlig <aszlig@redmoonstudios.org>2017-09-13 15:26:42 +0200
commit53ff1ddce61dc60611882914b1e35f35ebb3407d (patch)
treea680fd7c2366f16c1c38ef9cfc697f2624043d34 /pkgs/games/itch
parent633e7e8021e82dc831869071489412a8a2e50909 (diff)
pkgs/build-game: Add unzip to nativeBuildInputs
A lot of games come as a Zip archive, so let's add it to
nativeBuildInputs by default so we no longer need to deal with that for
every single game.

This also removes that line from Invisigun Heroes, so the package now is
pretty much minimal and very clean :-)

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/games/itch')
-rw-r--r--pkgs/games/itch/invisigun-heroes.nix6
1 files changed, 1 insertions, 5 deletions
diff --git a/pkgs/games/itch/invisigun-heroes.nix b/pkgs/games/itch/invisigun-heroes.nix
index adbb2de3..72c1e7f4 100644
--- a/pkgs/games/itch/invisigun-heroes.nix
+++ b/pkgs/games/itch/invisigun-heroes.nix
@@ -1,4 +1,4 @@
-{ buildUnity, fetchItch, unzip }:
+{ buildUnity, fetchItch }:
 
 buildUnity rec {
   name = "invisigun-heroes";
@@ -12,8 +12,4 @@ buildUnity rec {
     version = "v${version}";
     sha256 = "07iskccdmygnx70naaa3fcac1ayrhmq82cypddsnihc3gkw7rwrd";
   };
-
-  unpackCmd = ''
-    ${unzip}/bin/unzip -qq -d invisigun-heroes "$src" || :
-  '';
 }