-
-
Notifications
You must be signed in to change notification settings - Fork 359
Add Nix package to new Zig compiler #8351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Looks like this is ziglang/zig#20976 |
|
|
75e79f1 to
c98171f
Compare
|
I believe the slow build was because Nix was spending a long time copying files it didn't need to, I've added the Nix |
bb139b6 to
40fe39b
Compare
d0617a4 to
66d0a49
Compare
|
@Hasnep can you check if we can add a workaround for ziglang/zig#20976 ? |
|
I was looking at that earlier today, I'll push my experiment in the next few days :) |
2a91b5d to
e4a06cd
Compare
e4a06cd to
ce482c5
Compare
|
After some fiddling I've nearly got the build working, I'm getting these errors after about 10 minutes of building (I'll deal with the slowness once it's working 😅) |
|
Unfortunately, my Nix knowledge is middling and my Zig knowledge is non-existent, so I'll need help with this last bit. |
|
Thanks for the progress @Hasnep, I will take a look when I can. |
This adds a Nix package for the new Zig based compiler to the Nix flake in
src/, it can be tested by runningnix run github:hasnep/roc/add-nix-packages-for-new-compiler?dir=srcThis will build the compiler package using Nix and run it.