32 lines
708 B
Nix
32 lines
708 B
Nix
{
|
|
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
|
|
prismlauncher-unwrapped
|
|
|
|
libredirect
|
|
steam-run
|
|
rustc
|
|
flite
|
|
glibc
|
|
xorg.libX11
|
|
xorg.libXext
|
|
];
|
|
};
|
|
}
|
|
);
|
|
}
|