mindustry: fix build with gradle 8.8

Fix breakage introduced in 084f8df2f3
This commit is contained in:
Francesco Gazzetta 2024-06-30 09:16:19 +02:00
parent 5ea6f34ee5
commit 583466f8f6

View File

@ -1,4 +1,5 @@
{ lib, stdenv, fetchurl { lib, stdenv, fetchurl
, fetchpatch
, makeWrapper , makeWrapper
, makeDesktopItem , makeDesktopItem
, copyDesktopItems , copyDesktopItems
@ -82,6 +83,19 @@ let
patches = [ patches = [
./0001-fix-include-path-for-SDL2-on-linux.patch ./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 = '' unpackPhase = ''