blacksteel/minecraft: use overritten package

This commit is contained in:
Guanran Wang 2024-03-17 19:02:40 +08:00
parent 44e31c20db
commit 27461cc129
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -29,20 +29,14 @@
eula = true; eula = true;
openFirewall = true; openFirewall = true;
package = pkgs.papermc; package =
(pkgs.papermc.overrideAttrs (old: {
# Updated pkgs.papermc version = "1.20.4.454";
# package = let src = old.src.overrideAttrs {
# mcVersion = "1.20.4"; outputHash = "sha256-vH098T6gt/QpM0QOGTzu5VPNWPDYnmF8LQiRK6mDPS8=";
# buildNum = "431"; };
# in }))
# pkgs.papermc.overrideAttrs { .override {jre = pkgs.temurin-bin;};
# version = "${mcVersion}.${buildNum}";
# src = pkgs.fetchurl {
# url = "https://papermc.io/api/v2/projects/paper/versions/${mcVersion}/builds/${buildNum}/downloads/paper-${mcVersion}-${buildNum}.jar";
# hash = "sha256-Wml6p9OkFPYKjwEjVnWgRybQDsmG/taG2lWr3nNSlrQ=";
# };
# };
# Aikar's flag # Aikar's flag
# https://aikar.co/2018/07/02/tuning-the-jvm-g1gc-garbage-collector-flags-for-minecraft/ # https://aikar.co/2018/07/02/tuning-the-jvm-g1gc-garbage-collector-flags-for-minecraft/