HomePhabricator
Diffusion Comm c07d197d3916

[Nix] Add nixos cache as default for install_nix.sh

Description

[Nix] Add nixos cache as default for install_nix.sh

Summary:
https://phab.comm.dev/D5563#164976

This is to enable older versions of nix which don't
add cache.nixos.org as a substituter by default.

Also fix the sed find logic.

Test Plan:

cat /etc/nix/nix.conf
# confirm it's missing "https://cache.nixos.org" as a substituter

./scripts/install_nix.sh

# confirm "https://cache.nixos.org" is now a substituter

Reviewers: atul, varun

Reviewed By: atul

Subscribers: ashoat, tomek, abosh

Differential Revision: https://phab.comm.dev/D5600

Details

Provenance
jonAuthored on Nov 10 2022, 10:04 AM
Reviewer
atul
Differential Revision
D5600: [Nix] Add nixos cache as default for install_nix.sh
Parents
rCOMM14257cb309a6: [services][identity] update get_pake_registration method to use helper
Branches
Unknown
Tags
Unknown