status-react/nix/scripts
Jakub Sokołowski de7ce0493b
nix: optimize garbage collection
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>
2020-06-22 16:34:27 +02:00
..
build.sh nix: optimize garbage collection 2020-06-22 16:34:27 +02:00
clean.sh nix: add cleaning up status-go sources 2020-04-07 18:19:21 +02:00
gcroots.sh nix: optimize garbage collection 2020-06-22 16:34:27 +02:00
node_modules.sh nix: improve nix/scripts/node_modules.sh 2020-06-02 16:26:19 +02:00
purge.sh nix: move nix-purge code to nix/scripts/purge.sh 2020-04-21 22:30:33 +02:00
setup.sh nix: upgrade 2.3.4 > 2.3.6 2020-06-22 16:33:55 +02:00
shell.sh nix: optimize garbage collection 2020-06-22 16:34:27 +02:00
source.sh nix: optimize garbage collection 2020-06-22 16:34:27 +02:00