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

Issues with Nimble Installation #87

Open
erhlee-bird opened this issue Feb 28, 2023 · 1 comment
Open

Issues with Nimble Installation #87

erhlee-bird opened this issue Feb 28, 2023 · 1 comment

Comments

@erhlee-bird
Copy link

requires "https://github.com/crashappsec/nimutils ~= 0.2.2"

I think the ~= should be either == or >=. The ampersand doesn't seem to be valid for nimble.

# nimble install https://github.com/crashappsec/con4m
Downloading https://github.com/crashappsec/con4m using git
       Tip: 2 messages have been suppressed, use --verbose to show them.
     Error: Could not read package info file in /tmp/nimble_14/githubcom_crashappseccon4m/con4m.nimble;
        ...   Reading as ini file failed with: 
        ...     Invalid section: .
        ...   Evaluating as NimScript file failed with: 
        ...     Unable to parse dependency version range: Unexpected char in version range ' ~= 0.2.2': ~.
@viega
Copy link
Contributor

viega commented Mar 19, 2023

Sorry, just noticed this. The issue here is ~= is a Nimble 2.0 feature; you need to run nimble install nimble. Though, changing to >= does work, just has slightly different semantics.

I'll probably move this back to >= though. The whole point of moving to ~= was hoping to avoid some of the pain of nimble, but it didn't really help fix the problems I was having with triangular dependencies in a projecting using con4m (and nimutils).

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

2 participants