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
zig: init at 0.1.1 #30598
zig: init at 0.1.1 #30598
Conversation
The ci job fails with
|
do you know why that error happened? it worked for me when I tested it. do you have a suggestion for how to fix? I just need the path to libc include directory. |
It only happens when evaling the tarball for darwin, so I guess |
LGTM! When trying to build Tetris it's not obvious how to tell zig where to find libraries and such. Would it make sense / be reasonable to (only in Nix-built zig, perhaps) patch Zig to understand NIX_CFLAGS_COMPILE and similar? (I see it takes clang-like arguments such as Just a thought and is less about packaging Zig (this PR) and more about packaging things written in Zig :). EDIT: a) Wrapper might be difficult for projects with build.zig; we could 'wrap' b) Adding appropriate EDIT2: |
@joachifm I changed it to |
From the macos build log:
Do we need to manually pass in libstdc++ or something? (the other platforms built successfully) |
Motivation for this change
Add zig compiler to NixOS
Things done
tested compiling something
cc @dtzWill