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)
Tue, Dec 17, 7:22 AM
Unknown Object (File)
Tue, Dec 17, 7:22 AM
Unknown Object (File)
Tue, Dec 17, 7:22 AM
Unknown Object (File)
Tue, Dec 17, 7:19 AM
Unknown Object (File)
Thu, Dec 12, 11:05 AM
Unknown Object (File)
Tue, Nov 19, 8:59 PM
Unknown Object (File)
Tue, Nov 19, 8:59 PM
Unknown Object (File)
Tue, Nov 19, 8:59 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
Lint Not Applicable
Unit
Tests Not Applicable