Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nimsuggest fails silently on new project #133

Open
krobelus opened this issue Oct 29, 2023 · 0 comments
Open

nimsuggest fails silently on new project #133

krobelus opened this issue Oct 29, 2023 · 0 comments

Comments

@krobelus
Copy link

I'm trying to set up a minimal Nim project on Arch Linux.
My goal is to get a language server working (for kakoune-lsp/kakoune-lsp#695),
so far its delegate nimsuggest process fails, with no indication of what's wrong:

$ nim --version
Nim Compiler Version 2.0.0 [Linux: amd64]
Compiled at 2023-09-16
Copyright (c) 2006-2023 by Andreas Rumpf

active boot switches: -d:release
$ nimble init
      Info: Package initialisation requires info which could not be inferred.
        ... Default values are shown in square brackets, press
        ... enter to use them.
      Using "totallynotnim" for new package name
      Using Johannes Altmanninger for new package author
      Using "src" for new package source directory
    Prompt: Package type?
        ... Library - provides functionality for other packages.
        ... Binary  - produces an executable for the end-user.
        ... Hybrid  - combination of library and binary
        ... For more information see https://goo.gl/cm2RX5
     Select Cycle with 'Tab', 'Enter' when done
    Answer: library
    Prompt: Initial version of package? [0.1.0]
    Answer: 
    Prompt: Package description? [A new awesome nimble package]
    Answer: 
    Prompt: Package License?
        ... This should ideally be a valid SPDX identifier. See https://spdx.org/licenses/.
     Select Cycle with 'Tab', 'Enter' when done
    Answer: MIT
    Prompt: Lowest supported Nim version? [2.0.0]
    Answer: 
   Success: Package totallynotnim created successfully
$ nimsuggest $PWD/src/totallynotnim.nim --v3 --autobind --log --debug
$ echo $?
1
$ cat ~/nimsuggest.log
START /home/johannes/git/kak-lsp/t/totallynotnim/src/totallynotnim.nim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant