Skip to content

Commit

Permalink
[Nix] Fix substituters entry
Browse files Browse the repository at this point in the history
Summary:
Most "documentation" you can find for nixConfig mentions use of
`extra-substituters`, however, this seems to be incorrect. See:
NixOS/nix#6672 (comment)

This also removes the
```
warning: ignoring untrusted substituter 'https://comm.cachix.org'
```
output that you might see when doing any `nix` command.

Test Plan:
```
nix develop
# may get prompted about nixConfig values
# assert "ignoring untrusted substituter 'https://comm.cachix.org'" doesn't appear
```

Reviewers: atul, varun, abosh, ashoat

Reviewed By: atul, ashoat

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D5183
  • Loading branch information
jonringer committed Sep 20, 2022
1 parent f6cc2d9 commit de241b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
# Add comm binary cache to avoid our pinned packages from needing
# to be built by any consumer
nixConfig = {
extra-substituters = [ "https://comm.cachix.org" ];
extra-trusted-substituters = [ "https://comm.cachix.org" ];
extra-trusted-public-keys = [
"comm.cachix.org-1:70RF31rkmCEhQ9HrXA2uXcpqQKGcUK3TxLJdgcUCaA4="
];
Expand Down

0 comments on commit de241b5

Please sign in to comment.