disruptek / nimph

Nim package hierarchy manager from the future 🧚
MIT License
159 stars 10 forks source link

Compiler path shouldn't be hardcoded #118

Closed alaviss closed 4 years ago

alaviss commented 4 years ago

The built nimph has the path to the compiler binary hardcoded:

$ strings ~/local/bin/nimph | grep bin/nim
@/home/leorize/source/Nim/bin/nim

This breaks nimph when that's not the same compiler as the one in use.

It also appears to me that nimph derived some search paths based on that binary path.