Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install script adds duplicate keys #3

Open
asymmetric opened this issue Aug 20, 2018 · 1 comment
Open

Install script adds duplicate keys #3

asymmetric opened this issue Aug 20, 2018 · 1 comment

Comments

@asymmetric
Copy link
Contributor

asymmetric commented Aug 20, 2018

My nix.conf already contained a substituers key, and the install script added another one at the bottom of the script.

We should instead append to the existing key.

@nanexcool
Copy link
Contributor

Yes, great idea! We should discuss this. What we add in nix.conf is basically what you get by installing cachix then running cachix use dapp. But... I noticed on Macs sometimes cachix installs from source and compiles and takes a long time.

This is why we only modify the nix.conf file naively. Since it's 3 lines (with 1 comment) we could check for the existance of these lines and only add if not found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants