Merge pull request #48 from GitanElyon/feat/nix-flake
feat(nix): add nix flake
This commit is contained in:
4 files changed
+137
No files matched your search
@@ -111,6 +111,25 @@ paru -S rmcl-bin
|
||||
paru -S rmcl-git
|
||||
```
|
||||
|
||||
### Nix
|
||||
|
||||
[](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
|
||||
|
||||
[](https://crates.io/crates/rmcl)
|
||||
|
||||
Reference in new issue
Block a user