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.
Differential D5600
[Nix] Add nixos cache as default for install_nix.sh • jon on Nov 10 2022, 10:19 AM. Authored by Tags None Referenced Files
Details https://phab.comm.dev/D5563#164976 This is to enable older versions of nix which don't Also fix the sed find logic. 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
Diff Detail
Event TimelineComment Actions atul@atuls-MacBook-Pro comm % cat /etc/nix/nix.conf experimental-features = nix-command flakes build-users-group = nixbld trusted-users = @admin atul cores = 4 max-jobs = 5 substituters = https://comm.cachix.org https://cache.nixos.org trusted-public-keys = comm.cachix.org-1:70RF31rkmCEhQ9HrXA2uXcpqQKGcUK3TxLJdgcUCaA4= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= |