From 53ff1ddce61dc60611882914b1e35f35ebb3407d Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 13 Sep 2017 06:47:04 +0200 Subject: 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 --- pkgs/games/build-support/build-game.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/games/build-support') diff --git a/pkgs/games/build-support/build-game.nix b/pkgs/games/build-support/build-game.nix index 5117b330..5951883d 100644 --- a/pkgs/games/build-support/build-game.nix +++ b/pkgs/games/build-support/build-game.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, file, withPulseAudio ? true, libpulseaudio ? null }: +{ stdenv, lib, file, unzip, withPulseAudio ? true, libpulseaudio ? null }: assert withPulseAudio -> libpulseaudio != null; @@ -15,7 +15,7 @@ stdenv.mkDerivation ({ buildInputs = [ stdenv.cc.cc ] ++ buildInputs; nativeBuildInputs = [ - file ./setup-hooks/auto-patchelf.sh + unzip file ./setup-hooks/auto-patchelf.sh ] ++ nativeBuildInputs; preUnpack = preUnpack + '' -- cgit 1.4.1