Switch to fetchzip over a local jar file
This commit is contained in:
parent
3e404706dc
commit
5e8ef16d78
|
@ -182,13 +182,13 @@
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1724982042,
|
"lastModified": 1724982042,
|
||||||
"narHash": "sha256-IwHIZYo1fyloQxvBy15QVzMALNEa7Jo6tzXVJj7U9Ws=",
|
"narHash": "sha256-IwHIZYo1fyloQxvBy15QVzMALNEa7Jo6tzXVJj7U9Ws=",
|
||||||
"owner": "JimmJam",
|
"owner": "Infinidoge",
|
||||||
"repo": "nix-minecraft",
|
"repo": "nix-minecraft",
|
||||||
"rev": "32b632e29b141cc4c441b6e5504d33a9564dc3e6",
|
"rev": "32b632e29b141cc4c441b6e5504d33a9564dc3e6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "JimmJam",
|
"owner": "Infinidoge",
|
||||||
"repo": "nix-minecraft",
|
"repo": "nix-minecraft",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
{pkgs, ...}: let
|
{pkgs, ...}: let
|
||||||
common = import ../common.nix { inherit pkgs; };
|
common = import ../common.nix { inherit pkgs; };
|
||||||
|
uberBukkitZip = pkgs.fetchzip {
|
||||||
|
url = "https://github.com/Moresteck/Project-Poseidon-Uberbukkit/releases/download/2.0.0/uberbukkit-2.0.0-java17.zip";
|
||||||
|
sha256 = "m4hgcqXJ43SnBGn6qNBGeEcXFv5Q8f/VFYJmx3aJ9PE=";
|
||||||
|
stripRoot = false;
|
||||||
|
};
|
||||||
uberBukkit = pkgs.vanillaServers.vanilla.overrideAttrs (oldAttrs: {
|
uberBukkit = pkgs.vanillaServers.vanilla.overrideAttrs (oldAttrs: {
|
||||||
src = ../uberbukkit.jar;
|
src = "${uberBukkitZip}/uberbukkit-2.0.0.jar";
|
||||||
});
|
});
|
||||||
in {
|
in {
|
||||||
services.minecraft-servers.servers.uberbeta = {
|
services.minecraft-servers.servers.uberbeta = {
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue