2023-06-14 17:41:41 +02:00
|
|
|
{
|
|
|
|
description = "Minecraft flake";
|
|
|
|
|
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
|
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs, flake-utils}:
|
|
|
|
flake-utils.lib.eachDefaultSystem
|
|
|
|
(system:
|
|
|
|
let
|
|
|
|
pkgs = import nixpkgs {
|
|
|
|
inherit system;
|
|
|
|
config.allowUnfree = true;
|
|
|
|
};
|
|
|
|
in {
|
|
|
|
devShells.default = pkgs.mkShell {
|
|
|
|
packages = with pkgs; [
|
|
|
|
minecraft
|
2023-09-01 18:56:49 +02:00
|
|
|
prismlauncher-unwrapped
|
|
|
|
|
|
|
|
libredirect
|
|
|
|
steam-run
|
|
|
|
rustc
|
|
|
|
flite
|
2023-06-14 17:41:41 +02:00
|
|
|
glibc
|
2023-09-01 18:56:49 +02:00
|
|
|
xorg.libX11
|
|
|
|
xorg.libXext
|
2023-06-14 17:41:41 +02:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
);
|
|
|
|
}
|