Unable to "nimble install" on osx
Opened this issue · 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 mosh@0.5.0 Info: Dependency on cligen@1.5.19 already satisfied Verifying dependencies for cligen@1.5.19 Installing mosh@0.5.0 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 of
dispatchCffrom here /Users/dk/.nimble/pkgs2/cligen-1.5.19-bfe4f99a16ace2164fe40d40866e4951bed51820/cligen.nim(812, 14) template/generic instantiation of
dispatchGen` 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$
`
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.
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.