status-react/nix/scripts
Jakub Sokołowski 5e6d488a3e
nix: fix cache usage by modifying global config
Otherwise Nix produces warnings like this:
```
warning: ignoring untrusted substituter 'https://nix-cache.status.im/', you are not a trusted user.
```
Since adding users to `trusted-users` essentially gives them `root`:

>Adding a user to trusted-users is essentially equivalent to giving that user root access to the system.
> — https://nixos.org/manual/nix/stable/command-ref/conf-file.html#conf-trusted-users

A more kosher approach might be to just add the cache config itself globally.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-23 18:02:38 +02:00
..
build.sh nix: quote path uses to avoid issues with spaces 2022-07-27 16:11:28 +02:00
clean.sh rename status-react to status-mobile 2022-07-17 14:46:16 +02:00
gcroots.sh rename status-react to status-mobile 2022-07-17 14:46:16 +02:00
lib.sh nix: fix cache usage by modifying global config 2023-06-23 18:02:38 +02:00
node_modules.sh Use native binary for the clj-kondo linter (#14179) 2022-10-19 09:54:01 -03:00
purge.sh nix: quote path uses to avoid issues with spaces 2022-07-27 16:11:28 +02:00
setup.sh nix: fix cache usage by modifying global config 2023-06-23 18:02:38 +02:00
shell.sh nix: quote path uses to avoid issues with spaces 2022-07-27 16:11:28 +02:00
source.sh nix: add upgrade script for Nix interpreter 2023-06-19 12:21:00 +02:00
upgrade.sh nix: fix cache usage by modifying global config 2023-06-23 18:02:38 +02:00
version.sh nix: downgrade from 2.14.1 to 2.13.4 2023-06-22 14:23:47 +02:00