mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-12 17:54:32 +00:00
Jakub Sokołowski
de7ce0493b
In order to prevent `nix-store --gc` from removing too much I've: - Added the `keep-outputs = true` setting to `nix/nix.conf` - Fixed `nix/scripts/gcroots.sh` to make symlinks in `/nix/var/nix/gcroots` - Made `nix/scripts/build.sh` and `nix/scripts/shell.sh` use it This way when running `make nix-gc` most recently used shells and built derivations won't be removed along with their dependencies. Signed-off-by: Jakub Sokołowski <jakub@status.im>
12 lines
655 B
Plaintext
12 lines
655 B
Plaintext
# NOTE: If you are in Asia you might want to add https://nix-cache-cn.status.im/ to extra-substituters
|
|
extra-substituters = https://nix-cache.status.im/
|
|
substituters = https://cache.nixos.org/
|
|
trusted-public-keys = nix-cache.status.im-1:x/93lOfLU+duPplwMSBR+OlY4+mo+dCN7n0mr4oPwgY= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-cache-cn.status.im:WUiOoTQQurm+rEL/yuAuU/a3TViDtMM9DCMgMx/KkOw=
|
|
# Some downloads are multiple GB, default is 5 minutes
|
|
stalled-download-timeout = 600
|
|
connect-timeout = 10
|
|
max-jobs = auto
|
|
# Helps avoid removing currently used dependencies via garbage collection
|
|
keep-derivations = true
|
|
keep-outputs = true
|