I'm trying to take a dependency on the roc-lang/unicode library. I've looked at some examples, and now have the following in my main.roc
file:
package "rvn"
exposes [Rvn]
packages {
unicode: "https://github.com/roc-lang/unicode/archive/09f22e6aee3adedc2b5cf45f654956b41c157202.tar.br",
}
In another module I'm doing this:
interface Rvn
exposes []
imports [
unicode.CodePoint,
]
When I now try to run roc build
or roc test
, something is happening because my fans start spinning and I see a single CPU core go to 100%. I cloned the unicode repo and ran roc build
in it for comparison, and that completes within a second. Other than that I'm not seeing any output from the command. I've let it run for a couple of minutes, then killed it. Should I just be a bit more patient, or am I making a mistake?
I've also tried the json
package, but the same thing happens.
ah, there's currently a bug with packages not being able to import other packages :sweat_smile:
@Agus Zubiaga is working on changes to the module system which will (among other things) fix this
Ah, that explains it. Many thanks!
Jasper Woudenberg has marked this topic as resolved.
Last updated: Jul 06 2025 at 12:14 UTC