aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorinyourwalls <inyourwalls@tutanota.com>2024-01-25 02:30:39 -0500
committerinyourwalls <inyourwalls@tutanota.com>2024-01-25 02:30:39 -0500
commit4f6a91932b61c4e5a9ef3216c4989ca9b6294439 (patch)
tree2996d5e4265ad08f6dfbdd29ffb9969782f8e118 /flake.nix
init
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..06e97ba
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,15 @@
+{
+ description = "A mod for Minecraft, using the Fabric modloader.";
+
+ inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
+
+ outputs = { self, nixpkgs }: let system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; in {
+ devShells.${system}.default = pkgs.mkShell {
+ nativeBuildInputs = with pkgs; [
+ gradle
+ jdt-language-server
+ openjdk17
+ ];
+ };
+ };
+}