Summary: | dev-lang/nim-0.18.0: nim.cfg missing path to sha1 library | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Torro |
Component: | Current packages | Assignee: | Sergei Trofimovich (RETIRED) <slyfox> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Torro
2018-05-16 08:56:47 UTC
Apparently this is an upstream issue. Sorry for wasting your time. https://github.com/nim-lang/Nim/blob/devel/tools/niminst/niminst.nim#L18 suggests that import syntax is: # hi.nim: import std / sha1 Seems to work: $ nim compile hi $ ./hi Sam syntax is used throughout the comiler. Feel free to raise issue upstream. At least documentation cound be improved to show a working example for sha1 module. (In reply to Sergei Trofimovich from comment #2) Hi Sergei, Thanks Upstream is aware of the issue. As far as I know the sha1 module will be added to an in-path location at some point. I concur. The documentation could do with an example or a note. |