-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
buildGoPackage: use $out instead of $bin #85535
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
Conversation
In #43328 I opted not to do this as it would introduce an incompatibility for questionable gain. |
Can we alias out to bin for backward compatibility? |
It could be a symlink I think. However I suspect most of the breakages occur in the build expressions itself because |
How about deprecate the output (not sure that's possible, at least the trace part), spread the word to give people a couple of months before we do this? In the meantime we could gate the output change with an attr and set it from within nixpkgs. |
I might do another round of I'm not sure how to move forward with this? |
The |
It already has |
The other |
Could you also write a short entry in |
Added a note and dropped a paragraph from the go docs that referenced defaulting to |
buildGoPackage: use $out instead of $bin
Merged into staging in 20e67f1 |
$bin does not exist since NixOS/nixpkgs#85535
cc @kalbasit @Mic92
This changes
buildGoPackage
to use to$out
instead of$bin
which matches the behaviour ofbuildGoModule
(andbuildRustPackage
).nixpkgs/pkgs/servers/sql/cockroachdb/default.nix
Lines 53 to 57 in a2d9f58