Merge pull request #48 from GitanElyon/feat/nix-flake

feat(nix): add nix flake
This commit is contained in:
Consti Bauer authored and GitHub committed 2026-10-05 19:36:41 +02:00
commit 464b279570
4 files changed
+137

No files matched your search

+19
View File
@@ -111,6 +111,25 @@ paru -S rmcl-bin
paru -S rmcl-git
```
### Nix
[![Nix](https://img.shields.io/badge/nix-5277C4?style=for-the-badge&logo=nixos)](https://github.com/objz/rmcl)
```sh
nix run github:objz/rmcl
nix profile install github:objz/rmcl
```
the flake builds rmcl from source. To use your own key instead, override it
at build time:
```sh
CURSEFORGE_API_KEY=your-key nix build --impure .#
```
Minecraft 1.12 and older currently fail to launch because rmcl doesn't pass
`-Djava.library.path` for legacy version profiles.
### Cargo
[![crates.io](https://img.shields.io/crates/v/rmcl?style=for-the-badge&logo=rust)](https://crates.io/crates/rmcl)