dapp-tools icon indicating copy to clipboard operation
dapp-tools copied to clipboard

Install script adds duplicate keys

Open asymmetric opened this issue 7 years ago • 1 comments

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.

asymmetric avatar Aug 20 '18 11:08 asymmetric

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.

nanexcool avatar Aug 21 '18 13:08 nanexcool