nimble icon indicating copy to clipboard operation
nimble copied to clipboard

`nimble install <packagename>@#head` installs latest **version** instead of head commit with nim devel compiler

Open PhilippMDoerner opened this issue 1 year ago • 2 comments

The Problem

The following command will act like it is installing owlkettle correctly, but it will incorrectly install the latest version instead of the head commit:

choosenim devel
nimble install owlkettle@#head

This installs owlkettle 2.1.0, NOT owlkettle's head commit as it should! The output is as if this was a normal installation for 2.1.0:

~/dev/nimblest % nimble install owlkettle@#head
Downloading https://github.com/can-lehmann/owlkettle using git
  Verifying dependencies for [email protected]
 Installing [email protected]
  Success:  owlkettle installed successfully.

This does not occur with nim 1.6.10, only with devel .

Nimble version:

~/dev/nimblest % nimble -v   
nimble v0.14.0 compiled at 2022-12-22 01:05:55
git hash: couldn't determine git hash

PhilippMDoerner avatar Feb 11 '23 22:02 PhilippMDoerner