bend-nim icon indicating copy to clipboard operation
bend-nim copied to clipboard

Unable to "nimble install" on osx

Open davidkamp opened this issue 2 years ago • 2 comments

Hi, Is the nimble install method still working? I am getting the below on osx 10.15:

davids-Mac-Pro-2:mosh dk$ nimble install Verifying dependencies for [email protected] Info: Dependency on [email protected] already satisfied Verifying dependencies for [email protected] Installing [email protected] Building mosh/mosh using c backend /Users/dk/mosh/src/convert.nim(1, 11) Warning: imported and not used: 'strformat' [UnusedImport] stack trace: (most recent call last) cligen.nim(370, 25) dispatchGen cligen.nim(197, 35) parseHelps /Users/dk/mosh/src/mosh.nim(20, 13) template/generic instantiation of dispatchfrom here /Users/dk/.nimble/pkgs2/cligen-1.5.19-bfe4f99a16ace2164fe40d40866e4951bed51820/cligen.nim(825, 14) template/generic instantiation ofdispatchCffrom here /Users/dk/.nimble/pkgs2/cligen-1.5.19-bfe4f99a16ace2164fe40d40866e4951bed51820/cligen.nim(812, 14) template/generic instantiation ofdispatchGen` from here /Users/dk/.nimble/pkgs2/cligen-1.5.19-bfe4f99a16ace2164fe40d40866e4951bed51820/cligen.nim(197, 35) Error: cannot get child of node kind: nnkEmpty Tip: 4 messages have been suppressed, use --verbose to show them. nimble.nim(229) buildFromDir

Error:  Build failed for the package: mosh

davids-Mac-Pro-2:mosh dk$ `

davidkamp avatar Aug 22 '23 13:08 davidkamp

I can reproduce here and am generally inclined to fix this given its completely breaking ha. Give me a moment as its been a while since I touched nim.

jamesb93 avatar Aug 22 '23 20:08 jamesb93

Okay can you try now with nim version 2.0.0?

Should work.

I've also renamed the executable to bend because mosh is, as I've just learned, an already established UNIX tool.

jamesb93 avatar Aug 22 '23 20:08 jamesb93