mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-04-29 22:24:26 +02:00
chore(nix): use cachix for binary cache
Signed-off-by: seth <getchoo@tuta.io>
This commit is contained in:
parent
68bf500f7e
commit
bf432b5514
@ -2,8 +2,10 @@
|
||||
description = "A custom launcher for Minecraft that allows you to easily manage multiple installations of Minecraft at once (Fork of MultiMC)";
|
||||
|
||||
nixConfig = {
|
||||
extra-substituters = [ "https://cache.garnix.io" ];
|
||||
extra-trusted-public-keys = [ "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" ];
|
||||
extra-substituters = [ "https://prismlauncher.cachix.org" ];
|
||||
extra-trusted-public-keys = [
|
||||
"prismlauncher.cachix.org-1:9/n/FGyABA2jLUVfY+DEp4hKds/rwO+SCOtbOkDzd+c="
|
||||
];
|
||||
};
|
||||
|
||||
inputs = {
|
||||
|
@ -8,8 +8,8 @@ See [Package variants](#package-variants) for a list of available packages.
|
||||
|
||||
## Installing a development release (flake)
|
||||
|
||||
We use [garnix](https://garnix.io/) to build and cache our development builds.
|
||||
If you want to avoid rebuilds you may add the garnix cache to your substitutors, or use `--accept-flake-config`
|
||||
We use [cachix](https://cachix.org/) to cache our development and release builds.
|
||||
If you want to avoid rebuilds you may add the Cachix bucket to your substitutors, or use `--accept-flake-config`
|
||||
to temporarily enable it when using `nix` commands.
|
||||
|
||||
Example (NixOS):
|
||||
@ -17,12 +17,10 @@ Example (NixOS):
|
||||
```nix
|
||||
{
|
||||
nix.settings = {
|
||||
trusted-substituters = [
|
||||
"https://cache.garnix.io"
|
||||
];
|
||||
trusted-substituters = [ "https://prismlauncher.cachix.org" ];
|
||||
|
||||
trusted-public-keys = [
|
||||
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
||||
"prismlauncher.cachix.org-1:9/n/FGyABA2jLUVfY+DEp4hKds/rwO+SCOtbOkDzd+c="
|
||||
];
|
||||
};
|
||||
}
|
||||
@ -137,20 +135,18 @@ nix profile install github:PrismLauncher/PrismLauncher
|
||||
|
||||
## Installing a development release (without flakes)
|
||||
|
||||
We use [garnix](https://garnix.io/) to build and cache our development builds.
|
||||
If you want to avoid rebuilds you may add the garnix cache to your substitutors.
|
||||
We use [Cachix](https://cachix.org/) to cache our development and release builds.
|
||||
If you want to avoid rebuilds you may add the Cachix bucket to your substitutors.
|
||||
|
||||
Example (NixOS):
|
||||
|
||||
```nix
|
||||
{
|
||||
nix.settings = {
|
||||
trusted-substituters = [
|
||||
"https://cache.garnix.io"
|
||||
];
|
||||
trusted-substituters = [ "https://prismlauncher.cachix.org" ];
|
||||
|
||||
trusted-public-keys = [
|
||||
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
||||
"prismlauncher.cachix.org-1:9/n/FGyABA2jLUVfY+DEp4hKds/rwO+SCOtbOkDzd+c="
|
||||
];
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user