Hi! I'm trying to understand how to import a platform from GitHub, since I was planning to play around with https://github.com/lukewilliamboswell/roc-serverless.
Doing
pf: "https://github.com/lukewilliamboswell/roc-serverless/archive/3f42b8477a2596055473f82e789ce77ef952b1ff.tar.gz"
doesn't seem to work because Roc expects a content hash (q3WCyUZHFTR69G8YECm9gIgAF3dGsmtbhk_WtJPZZro
) but I'm not quite sure how to provide it, and came up empty on the site. :)
Hi @frekw,
That functionality is not something we support (yet?). If there is no release of the platform you need to clone it manually and use it like here.
Alright, thanks. Could be neat to support URL fragments to be able to provide a hash of any file!
Right now I'm trying to figure out how to hash it to provide a stable URL. Looks like Blake3 + base64-encoding. We'll see if I succeed. :D
Roc can help you with making archives like that.
Nice, thanks! Managed to do it but now the platform won't compile, probably because I'm running nix so it can't find the wasi-libc
headers. Oh well I'll try another day :D
I'd happy to help you resolve that tomorrow :)
Last updated: Jul 05 2025 at 12:14 UTC