buildGoModule appears to unconditionally use the darwin packageset

Just happened to come across this while working on something tangentially Go related. Out of curiosity, is there any particular reason why buildGoModule uses darwin.apple_sdk_11_0.callPackage even on non-darwin platforms?

It’s a noop on non-Darwin platforms, and sets the SDK version to 11.0 on Darwin.

1 Like