-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
go_1_17: enable on x86_64-darwin #144644
go_1_17: enable on x86_64-darwin #144644
Conversation
Can we also update |
Yes, I think so. Happy to do so here or in a separate PR, whatever's preferred. |
There's also this:
Not sure if those non-portable go module changes is something that needs to be addressed. |
AFAIK: the "non-portable module changes" part is the reason we can't just go |
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.
Result of nixpkgs-review pr 144644
run on x86_64-darwin 1
1 package built:
- go_1_17
Apparently this does not depend on stdenv's macOS SDK at all, and carries around its own go-specific toolchain. So this works fine as-is and doesn't need any changes in Nixpkgs to support a 10.13 deployment target.
Are we waiting on something here? |
Maybe someone that knows more about Go to merge? |
I was hoping for an ACK from one of the Go codeowners, but it looks like everyone is ok with this. And this is a small change so it's easy to revert if needed. |
That doesn't mean we can enable |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/missing-go-1-17-on-x86-64-darwin/15032/3 |
Apparently this does not depend on stdenv's macOS SDK at all,
and carries around its own go-specific toolchain. So this works
fine as-is and doesn't need any changes in Nixpkgs to support a
10.13 deployment target.
Motivation for this change
Noticed in #144588 (comment)
If this is valid, it would be nice to have for 21.11 (linking #144627 for visibility)
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)