From ecbe82fe6abd127ead71c9f888a72cde55ca0700 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Wed, 29 Jan 2025 07:18:01 +0100 Subject: Bump nixpkgs-unstable, ahmed: use unstable PaperMC I needed PaperMC v1.24.1 which happens to be what is packaged in NixOS/nixpkgs@852ff1d9e. I really ought to figure out a way to decouple the version of Minecraft from the nixpkgs version. I don't want to be in the situation where I want to bump unstable, but don't want to switch to a new Minecraft version. --- modules/nixos/on-demand-minecraft/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') diff --git a/modules/nixos/on-demand-minecraft/default.nix b/modules/nixos/on-demand-minecraft/default.nix index 2e48457..999f67b 100644 --- a/modules/nixos/on-demand-minecraft/default.nix +++ b/modules/nixos/on-demand-minecraft/default.nix @@ -205,6 +205,7 @@ in { # HACK: Each server is given its own subdirectory so # incompatibilities between servers don't cause complaints. + # FIXME: This hack will break everything when trying to upgrade servers. start-server = pkgs.writeShellScript "minecraft-server-start" '' # Switch to runtime directory. export RUNTIME_DIR="${config.users.users.minecrafter.home}/${cfg.package.name}/" -- cgit v1.2.3