From afb2e12ee952d4b26cfcb2b495b6831a7fdf3c4c Mon Sep 17 00:00:00 2001 From: IvarWithoutBones Date: Wed, 23 Jun 2021 03:16:52 +0200 Subject: [PATCH] amidst: use jre instead of jre8 --- pkgs/tools/games/amidst/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/games/amidst/default.nix b/pkgs/tools/games/amidst/default.nix index 552efee1537e81c..8ec65a1dd391649 100644 --- a/pkgs/tools/games/amidst/default.nix +++ b/pkgs/tools/games/amidst/default.nix @@ -2,7 +2,7 @@ , stdenv , fetchurl , makeWrapper -, jre8 }: # TODO: Update this to the latest version of java upon the next release. This is currently not done because of https://github.com/toolbox4minecraft/amidst/issues/960 +, jre }: stdenv.mkDerivation rec { pname = "amidst"; @@ -15,12 +15,12 @@ stdenv.mkDerivation rec { dontUnpack = true; - nativeBuildInputs = [ jre8 makeWrapper ]; + nativeBuildInputs = [ jre makeWrapper ]; installPhase = '' mkdir -p $out/{bin,lib/amidst} cp $src $out/lib/amidst/amidst.jar - makeWrapper ${jre8}/bin/java $out/bin/amidst \ + makeWrapper ${jre}/bin/java $out/bin/amidst \ --add-flags "-jar $out/lib/amidst/amidst.jar" '';