Skip to content

nimble seems to default to using its own nim binaries #1391

@derek-v-s

Description

@derek-v-s

My experience was:

  1. nimble install nimlangserver at which point, unknown to me, nimble created its own version of nim via ~/.nimble/pkgs2/nim-2.0.8-46333e8f4bda41dd6d3852a3f5fa4975b96b66a2/
  2. nimble install nimlsp at which point, unknown to me, nimble used that version of nim to build nimlsp
  3. Zed editor informed me of the mismatch between my system version (2.2.4) and nimlsp's/nimble's

So if it hadn't been for Zed's popup I would be unaware of this.

While flags like --useSystemNim, --nim:path, --disableNimBinaries exist, they require knowing about this functionality, and I think most users probably expect that nimble will default to the system version of nim (or what is set in a nimble file). Do reasons exist for keeping the behavior the way it is, regardless of unexpected results for the user?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions