Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Unable to "nimble install" on osx #9

Open
davidkamp opened this issue Aug 22, 2023 · 2 comments
Open

Unable to "nimble install" on osx #9

davidkamp opened this issue Aug 22, 2023 · 2 comments

Comments

@davidkamp
Copy link

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 davidkamp changed the title Unable to "ninimble install" on osx Unable to "nimble install" on osx Aug 22, 2023
@jamesb93
Copy link
Owner

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
Copy link
Owner

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants