create-modded-server/flake.nix

25 lines
557 B
Nix
Raw Normal View History

2025-02-18 19:50:33 +01:00
{
description = "Minecraft modded server with create";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
systems.url = "github:nix-systems/default";
};
outputs =
{ systems, nixpkgs, ... }:
let
eachSystem = f: nixpkgs.lib.genAttrs (import systems) (system: f nixpkgs.legacyPackages.${system});
in
{
devShells = eachSystem (pkgs: {
default = pkgs.mkShell {
buildInputs = [
pkgs.packwiz
2025-02-19 13:32:00 +01:00
pkgs.temurin-jre-bin-17
2025-02-18 19:50:33 +01:00
];
};
});
};
}