I've been working on roc2nix for the last few days and i think its mostly in a good state to use for basic roc apps
For some context see this thread
Right now it supports building roc apps with external (url) deps and packages built from nix derivations. I have a basic platform builder for rust working as well (building the object files + roc code for the platform).
this example covers the simple case of just building an app. I hope to add some more docs and flesh out the examples over the next few days.
Hopefully this should make it easy to use roc apps in other nix derivations/dev shells!
This is just in time. I was about to ask for advice about something with Nix.
Need to clean this up a bit still, let me know if you get lost!
I made a short blog post going over how some of roc2nix works.
Hope to make some more posts on Roc after i do more AoC!
johns.codes is a sick domain :star_struck:
Was just reading an interesting blogpost I saw linked on lobste.rs and was surprised to see Roc mentioned :laughing: Nice job! :+1:
Last updated: Jul 06 2025 at 12:14 UTC