Hi,
is it possible to install Roc using Nix (or any other package manager) without having to use the install script?
yup! the roc repo is a nix flake, so you can use that.
FWIW, I just added
(builtins.getFlake "github:roc-lang/roc").packages.x86_64-linux.default)
to my environment.systemPackages
list i my nixos configuration.nix
file
That should build and include roc from the latest main
oh thanks! Perhaps should've looked myself first :)
no worries
icrayix has marked this topic as resolved.
if you want to write derivations to build code written in roc, I think the best place to look right now is in this project:
https://github.com/JRMurr/roc2nix
Last updated: Jul 06 2025 at 12:14 UTC