Open devosalain opened 2 years ago
Related to https://github.com/PMunch/nimlsp/issues/68
I use nimlsp on FreeBSD, but you have to install choosenim:
nimble install choosenim
choosenim update stable
nimble install nimlsp
It's not true anymore:
% nimble install nimlsp
Downloading https://github.com/PMunch/nimlsp using git
Verifying dependencies for nimlsp@0.4.6
Installing jsonschema@>= 0.2.1
Downloading https://github.com/PMunch/jsonschema using git
Warning: The package has no tagged releases, downloading HEAD instead.
Verifying dependencies for jsonschema@0.2.1
Installing ast_pattern_matching@any version
Downloading https://github.com/nim-lang/ast-pattern-matching using git
Verifying dependencies for ast_pattern_matching@1.0.0
Installing ast_pattern_matching@1.0.0
Success: ast_pattern_matching installed successfully.
Installing jsonschema@0.2.1
Success: jsonschema installed successfully.
Installing asynctools@>= 0.1.1
Downloading https://github.com/cheatfate/asynctools using git
Verifying dependencies for asynctools@0.1.1
Installing asynctools@0.1.1
Success: asynctools installed successfully.
Installing nimlsp@0.4.6
Building nimlsp/nimlsp_debug using c backend
/tmp/nimble_45629/githubcom_PMunchnimlsp/src/nimlsppkg/suggestlib.nim(3, 18) Error: cannot open file: nimsuggest/nimsuggest
Prompt: Build failed for 'nimlsp@0.4.6', would you like to try installing 'nimlsp@#head' (latest unstable)? [y/N]
Answer: y
Downloading https://github.com/PMunch/nimlsp using git
Verifying dependencies for nimlsp@0.4.6
Info: Dependency on jsonschema@>= 0.2.1 already satisfied
Verifying dependencies for jsonschema@0.2.1
Info: Dependency on ast_pattern_matching@any version already satisfied
Verifying dependencies for ast_pattern_matching@1.0.0
Info: Dependency on asynctools@>= 0.1.1 already satisfied
Verifying dependencies for asynctools@0.1.1
Installing nimlsp@0.4.6
Building nimlsp/nimlsp_debug using c backend
/tmp/nimble_45629/githubcom_PMunchnimlsp_#head/src/nimlsppkg/suggestlib.nim(3, 18) Error: cannot open file: nimsuggest/nimsuggest
Tip: 41 messages have been suppressed, use --verbose to show them.
nimble.nim(229) buildFromDir
Error: Build failed for the package: nimlsp
Have you tried explicitSourcePath
? This seems very similar to issues like this on other OSes
Have you tried
explicitSourcePath
? This seems very similar to issues like this on other OSes
Indeed, with explicitSourcePath
it's ok.
Due to linux code in nimlsp you cannot install nimlsp on freebsd.