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: 0.2.0 -> 0.3.0 #47534
zig: 0.2.0 -> 0.3.0 #47534
Conversation
@GrahamcOfBorg build zig |
Success on x86_64-linux (full log) Attempted: zig Partial log (click to expand)
|
preConfigure = '' | ||
cmakeFlags="$cmakeFlags -DZIG_LIBC_STATIC_LIB_DIR=$(dirname $(cc -print-file-name=crtbegin.o)) -DZIG_DYNAMIC_LINKER=$(cc -print-file-name=ld-linux-x86-64.so.2)" | ||
''; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are no longer needed? 😁
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct! This is a happy side-effect of Zig's static Linux binaries (which even work on NixOS). libc is detected at runtime.
Success on aarch64-linux (full log) Attempted: zig Partial log (click to expand)
|
Timed out, unknown build status on x86_64-darwin (full log) Attempted: zig Partial log (click to expand)
|
Thanks! |
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)