Page MenuHomePhabricator

[Nix] Install comm cache in nix.conf
ClosedPublic

Authored by jon on Nov 8 2022, 10:05 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 9, 4:10 AM
Unknown Object (File)
Fri, Nov 8, 9:08 PM
Unknown Object (File)
Fri, Nov 8, 9:07 PM
Unknown Object (File)
Fri, Nov 8, 9:04 PM
Unknown Object (File)
Thu, Nov 7, 10:28 AM
Unknown Object (File)
Tue, Nov 5, 2:08 AM
Unknown Object (File)
Mon, Nov 4, 12:32 AM
Unknown Object (File)
Oct 5 2024, 6:37 PM

Details

Summary

Use the legacy way to define an alternative binary cache.
This avoids trying to rely on experimental flakeConfig feature which
seem to need some time to stabilize, see
https://github.com/nixos/nix/issues/6672 for more details.

https://linear.app/comm/issue/ENG-2126

Test Plan
# On a non-NixOS machines (nix.conf is readonly)
cat /etc/nix/nix.conf
# confirm it's missing "https://comm.cachix.org" as a substituter

./scripts/install_nix.sh

# confirm "https://comm.cachix.org" is now a substituter

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage