arturo-lang / arturo

Simple, expressive & portable programming language for efficient scripting
http://arturo-lang.io
MIT License
673 stars 29 forks source link

Bundle is not finding `nim` on Windows #1637

Closed RickBarretto closed 1 month ago

RickBarretto commented 1 month ago

Describe the bug I tried to test the new bundle feature, but this seems to be not finding the nim compiler on Windows. My nim is into my system's PATH, and I can call it from the Powershell or Bash.

To Reproduce image

Expected behavior Find nim as it is for Unix systems.

Desktop (please complete the following information):

drkameleon commented 1 month ago

Hmm... 🤔

Can you please try one thing: if you go to vm/bundle/generator.nim and change the entire content of commandExists to:

if findExe(cmd) == "":
        echo "\t`" & cmd & "` command required; cannot proceed!"
        quit(1)

does it progress past this step?


I did it exactly like that in the CI build workflow, and it apparently moves on to the next step (with another, totally different error, but again: that's 🪟🪟 ... lol)

drkameleon commented 1 month ago

Also, tiny hint on the --bundle syntax:

RickBarretto commented 1 month ago
drkameleon commented 1 month ago

Totally forgot about the open issue!

Great! ;)