From 583466f8f690f8ea3b7e93b56afe0d133f2aeb6a Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Sun, 30 Jun 2024 09:16:19 +0200 Subject: [PATCH] mindustry: fix build with gradle 8.8 Fix breakage introduced in 084f8df2f3ff80cdec6f515931036f63c5d2f36c --- pkgs/games/mindustry/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pkgs/games/mindustry/default.nix b/pkgs/games/mindustry/default.nix index 49ce37cc4b57..8489d32a8ed7 100644 --- a/pkgs/games/mindustry/default.nix +++ b/pkgs/games/mindustry/default.nix @@ -1,4 +1,5 @@ { lib, stdenv, fetchurl +, fetchpatch , makeWrapper , makeDesktopItem , copyDesktopItems @@ -82,6 +83,19 @@ let patches = [ ./0001-fix-include-path-for-SDL2-on-linux.patch + # Fix build with gradle 8.8, remove on next Arc release + (fetchpatch { + url = "https://github.com/Anuken/Arc/commit/2a91c51bf45d700091e397fd0b62384763901ae6.patch"; + hash = "sha256-sSD78GmF14vBvNe+ajUJ4uIc4p857shTP/UkAK6Pyyg="; + extraPrefix = "Arc/"; + stripLen = 1; + }) + (fetchpatch { + url = "https://github.com/Anuken/Arc/commit/d7f8ea858c425410dbd43374271a703d4443b432.patch"; + hash = "sha256-5LPgBOV0r/dUtpyxitTu3/9tMIqjeIKfGVJi3MEr7fQ="; + extraPrefix = "Arc/"; + stripLen = 1; + }) ]; unpackPhase = ''