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

dapptools only works on nix 2.5.1 #923

Closed
pyk opened this issue Mar 15, 2022 · 2 comments
Closed

dapptools only works on nix 2.5.1 #923

pyk opened this issue Mar 15, 2022 · 2 comments

Comments

@pyk
Copy link
Contributor

pyk commented Mar 15, 2022

When I tried to install dapptools on my fresh ubuntu, I discovered that dapptools only works perfectly with nix 2.5.1.

These are the problems that I encounter when using nix 2.6.x and 2.7.x

checking for references to /build/ in /nix/store/gbgnx6pc1yfccbbgva4ilajhfkvrnlhw-solc-static-0.8.11...
automatically fixing dependencies for ELF files
searching for dependencies of /nix/store/gbgnx6pc1yfccbbgva4ilajhfkvrnlhw-solc-static-0.8.11/bin/.solc-0.8.11-wrapped
error: file 'REPEAT' was not found in the Nix search path (add it using $NIX_PATH or -I)

       at /nix/store/cz726jh79y4vciyvxx1q5kg3mi84zliw-env-manifest.nix:1:2732:

So instead of installing the latest version of nix, I use nix 2.5.1:

sh <(curl -L https://releases.nixos.org/nix/nix-2.5.1/install) --no-daemon
curl https://dapp.tools/install | sh

Related issue:

@d-xo
Copy link
Contributor

d-xo commented Mar 23, 2022

Looks like this is an issue with nix itself rather than dapptools? I think it should fix itself once NixOS/nix#6296 is backported to 2.7.

Am I missing something?

@d-xo d-xo closed this as completed Mar 23, 2022
@pyk
Copy link
Contributor Author

pyk commented Mar 23, 2022

@d-xo yes I believe so

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