From 2aa2f1600a2df6b536d5a93efca8ee20af4a56ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 15 Jul 2024 15:12:51 +0200 Subject: [PATCH] runelite: stop overwriting maven --- pkgs/games/runelite/default.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pkgs/games/runelite/default.nix b/pkgs/games/runelite/default.nix index 22db910b30d2..20fb99f82b7d 100644 --- a/pkgs/games/runelite/default.nix +++ b/pkgs/games/runelite/default.nix @@ -10,12 +10,7 @@ , libGL }: -let - mavenJdk17 = maven.override { - jdk = jdk17; - }; -in -mavenJdk17.buildMavenPackage rec { +maven.buildMavenPackage rec { pname = "runelite"; version = "2.7.1"; @@ -25,6 +20,8 @@ mavenJdk17.buildMavenPackage rec { rev = version; hash = "sha256-7T9n23qMl4IJQL7yWLXKvRzYcMeXDUwkY8MBFc2t3Rw="; }; + + mvnJdk = jdk17; mvnHash = "sha256-FpfHtGIfo84z6v9/nzc47+JeIM43MR9mWhVOPSi0xhM="; desktop = makeDesktopItem {