Stream: show and tell

Topic: roc2nix


view this post on Zulip John Murray (Nov 25 2023 at 20:32):

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!

view this post on Zulip Jakub Kozłowski (Dec 01 2023 at 22:39):

This is just in time. I was about to ask for advice about something with Nix.

view this post on Zulip John Murray (Dec 01 2023 at 22:53):

Need to clean this up a bit still, let me know if you get lost!

view this post on Zulip John Murray (Dec 03 2023 at 03:52):

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!

view this post on Zulip Isaac Van Doren (Dec 03 2023 at 04:17):

johns.codes is a sick domain :star_struck:

view this post on Zulip Hannes (Dec 03 2023 at 04:34):

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