feat(nix): curseforge key env support
gave flake support for adding own CURSEFORGE_API_KEY at build time; updated README.md with new details
This commit is contained in:
1 parent
3525c7b69c
commit
04c92f17bf
2 files changed
+22
No files matched your search
@@ -98,11 +98,26 @@ 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. as with other source builds, CurseForge
|
||||
support is only enabled when `CURSEFORGE_API_KEY` is provided at build time:
|
||||
|
||||
```sh
|
||||
CURSEFORGE_API_KEY=your-key nix build --impure .#
|
||||
```
|
||||
|
||||
without a key, Modrinth works and CurseForge is disabled. prebuilt release
|
||||
binaries ship with the key baked in.
|
||||
|
||||
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