From 9641ab9a27cc375ef4f458c0e6c19148ae2950d4 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Tue, 3 Jul 2018 12:41:18 +0000 Subject: [PATCH] ivan: fix build after #41902 --- pkgs/games/ivan/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/games/ivan/default.nix b/pkgs/games/ivan/default.nix index 3431be5359e..3281c3d28d1 100644 --- a/pkgs/games/ivan/default.nix +++ b/pkgs/games/ivan/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchFromGitHub, libpng, cmake, SDL2, SDL2_mixer, pkgconfig, pcre}: +{ stdenv, fetchFromGitHub, cmake, pkgconfig, SDL2, SDL2_mixer, alsaLib, libpng, pcre }: stdenv.mkDerivation rec { @@ -12,12 +12,12 @@ stdenv.mkDerivation rec { sha256 = "1r3fcccgpjmzzkg0lfmq76igjapr01kh97vz671z60jg7gyh301b"; }; - buildInputs = [SDL2 SDL2_mixer libpng pcre]; + nativeBuildInputs = [ cmake pkgconfig ]; - nativeBuildInputs = [cmake pkgconfig]; + buildInputs = [ SDL2 SDL2_mixer alsaLib libpng pcre ]; hardeningDisable = ["all"]; - + # To store bone and high score files in ~/.ivan of the current user patches = [./homedir.patch];