diff --git a/pkgs/games/ivan/default.nix b/pkgs/games/ivan/default.nix index 3431be5359ea..3281c3d28d12 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];