hi roc friends, i looked at the couple previous nix flake topics but i think this is newer..
is there an updated flake somewhere with an in-support rust version OR a zig-only version?
i'm all good with nightly builds, closer to master the better, preferably with a flake to depend on. is this possible right now? should i make some sort of hashed binary derivation instead?
(1.77.2 is eol i think, by default i try to run just a single nixpkgs when possible. i could go ahead and use the roc flake as-is without following my nixpkgs from 2025, but wanted to check first. maybe it's better if i don't rely on this flake for now, add my own derivation directly in my repo?)
Hi @Drewry Pope,
is there an updated flake somewhere with an in-support rust version
No, I have not updated the rust version so I can focus on getting the new compiler ready.
OR a zig-only version?
Yes: https://github.com/roc-lang/roc/blob/main/src/flake.nix. But, it is not ready to replace the old compiler yet.
i could go ahead and use the roc flake as-is without following my nixpkgs from 2025
That would be the approach I recommend.
I noticed that the flake for the new Zig compiler doesn't define any output packages, is there a technical reason for that or is it just a lower priority thing?
Yeah, lower priority
Cool, because that means I can open a PR for my local branch where I've added it :sweat_smile:
It's open here: https://github.com/roc-lang/roc/pull/8351
Thanks, I'll check it out :)
Hmm, this is going very slowly for me:
❯ nix run ./src/#roc
warning: Git tree '/Users/username/gitrepos/forks/hasnep/roc' is dirty
[1/0/1 built] building roc (buildPhase): install -C .zig-cache/o/63519b81310eced5835dbe3ca5ae69cd/roc /nix/var/nix/builds/nix-9378-2989836767/5lsb292nlfn65p09g6aqlfz2bdbsq44h-source/zig-out/bin/roc
But when I look in activity monitor it's not using much CPU or memory at all
Last updated: Nov 09 2025 at 12:14 UTC