Loading pkgs/games/infra-arcana/default.nix +4 −15 Original line number Diff line number Diff line { lib , stdenv , fetchFromGitLab , cmake , makeWrapper , SDL2 , SDL2_image , SDL2_mixer { lib, stdenv, fetchFromGitLab, cmake, makeWrapper, SDL2, SDL2_image, SDL2_mixer }: stdenv.mkDerivation rec { pname = "infra-arcana"; version = "21.0.1"; version = "22.0.0"; src = fetchFromGitLab { owner = "martin-tornqvist"; repo = "ia"; rev = "v${version}"; sha256 = "sha256-E2ssxdYa27qRk5cCmM7A5VqXGExwXHblR34y+rOUBRI="; sha256 = "sha256-EFpeuzxhRriQOBtmw0D+SY6sOWGyY8iA5Xnm6PCaMX0="; }; nativeBuildInputs = [ cmake makeWrapper ]; buildInputs = [ SDL2 SDL2_image SDL2_mixer ]; # Some parts of the game don't compile with glibc 2.34. As soon as # this is fixed upstream we can switch to the default build flags. buildFlags = [ "ia" ]; installPhase = '' runHook preInstall Loading @@ -35,7 +24,7 @@ stdenv.mkDerivation rec { rm -rf CMake* cmake* compile_commands.json CTest* Makefile cp -ra * $out/opt/ia # Uses relative paths when looking for assets # IA uses relative paths when looking for assets wrapProgram $out/opt/ia/ia --run "cd $out/opt/ia" ln -s $out/opt/ia/ia $out/bin/infra-arcana Loading Loading
pkgs/games/infra-arcana/default.nix +4 −15 Original line number Diff line number Diff line { lib , stdenv , fetchFromGitLab , cmake , makeWrapper , SDL2 , SDL2_image , SDL2_mixer { lib, stdenv, fetchFromGitLab, cmake, makeWrapper, SDL2, SDL2_image, SDL2_mixer }: stdenv.mkDerivation rec { pname = "infra-arcana"; version = "21.0.1"; version = "22.0.0"; src = fetchFromGitLab { owner = "martin-tornqvist"; repo = "ia"; rev = "v${version}"; sha256 = "sha256-E2ssxdYa27qRk5cCmM7A5VqXGExwXHblR34y+rOUBRI="; sha256 = "sha256-EFpeuzxhRriQOBtmw0D+SY6sOWGyY8iA5Xnm6PCaMX0="; }; nativeBuildInputs = [ cmake makeWrapper ]; buildInputs = [ SDL2 SDL2_image SDL2_mixer ]; # Some parts of the game don't compile with glibc 2.34. As soon as # this is fixed upstream we can switch to the default build flags. buildFlags = [ "ia" ]; installPhase = '' runHook preInstall Loading @@ -35,7 +24,7 @@ stdenv.mkDerivation rec { rm -rf CMake* cmake* compile_commands.json CTest* Makefile cp -ra * $out/opt/ia # Uses relative paths when looking for assets # IA uses relative paths when looking for assets wrapProgram $out/opt/ia/ia --run "cd $out/opt/ia" ln -s $out/opt/ia/ia $out/bin/infra-arcana Loading