dapptools-starter-kit icon indicating copy to clipboard operation
dapptools-starter-kit copied to clipboard

Error during make : 'REPEAT' was not found in the Nix search path

Open aelmanaa opened this issue 3 years ago • 2 comments
trafficstars

Hello,

opening this issue as a reference for anyone who might run into the same issue when running make:

building '/nix/store/p831cprhcpndwrx6nwddhm0igp93pl99-solc-static-0.8.7.drv'...
patching sources
installing
post-installation fixup
strip is /nix/store/k0p31jydp2bp2s71712jw4c81ls39i5d-cctools-binutils-darwin-949.0.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/xw7dxv03a30fd8gr03lscvb9gy27w1wv-solc-static-0.8.7/bin
patching script interpreter paths in /nix/store/xw7dxv03a30fd8gr03lscvb9gy27w1wv-solc-static-0.8.7
automatically fixing dependencies for ELF files
error: file 'REPEAT' was not found in the Nix search path (add it using $NIX_PATH or -I)

       at /nix/store/xgasnl190vw8a9qakqd4h8wv11xv1m63-env-manifest.nix:1:2734:
make: *** [solc] Error 1

To fix this. I've applied the workaround mentioned here: https://github.com/NixOS/nixpkgs/issues/163374:

  • replace <REPEAT> with "REPEAT" in /nix/store/xgasnl190vw8a9qakqd4h8wv11xv1m63-env-manifest.nix (your file name is probably different)
  • re-run makecommand

aelmanaa avatar Mar 14 '22 11:03 aelmanaa

Interesting... so it's just an issue of your nix file? Wonder if anyone else gets them...

PatrickAlphaC avatar Mar 14 '22 22:03 PatrickAlphaC

Hello,

opening this issue as a reference for anyone who might run into the same issue when running make:

building '/nix/store/p831cprhcpndwrx6nwddhm0igp93pl99-solc-static-0.8.7.drv'...
patching sources
installing
post-installation fixup
strip is /nix/store/k0p31jydp2bp2s71712jw4c81ls39i5d-cctools-binutils-darwin-949.0.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/xw7dxv03a30fd8gr03lscvb9gy27w1wv-solc-static-0.8.7/bin
patching script interpreter paths in /nix/store/xw7dxv03a30fd8gr03lscvb9gy27w1wv-solc-static-0.8.7
automatically fixing dependencies for ELF files
error: file 'REPEAT' was not found in the Nix search path (add it using $NIX_PATH or -I)

       at /nix/store/xgasnl190vw8a9qakqd4h8wv11xv1m63-env-manifest.nix:1:2734:
make: *** [solc] Error 1

To fix this. I've applied the workaround mentioned here: NixOS/nixpkgs#163374:

  • replace <REPEAT> with "REPEAT" in /nix/store/xgasnl190vw8a9qakqd4h8wv11xv1m63-env-manifest.nix (your file name is probably different)
  • re-run makecommand

Thank you. This worked for me

dhruvinparikh avatar Apr 13 '22 04:04 dhruvinparikh