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
support passing extra build flags #104
Comments
13 tasks
I have a similar problem, but with |
eliasnaur
pushed a commit
to eliasnaur/gomod2nix
that referenced
this issue
Mar 30, 2023
The warning was to avoid misuse of buildFlags for specifying Go build tags, but there are other legitimate uses such as `-buildmode`, `-cover`. Fixes nix-community#104
eliasnaur
added a commit
to eliasnaur/gomod2nix
that referenced
this issue
Mar 30, 2023
The warning was to avoid misuse of buildFlags for specifying Go build tags, but there are other legitimate uses such as `-buildmode`, `-cover`. Fixes nix-community#104
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
go 1.20 support a new build flag
-cover
which we'd like to use for integration test, currently the only way to pass that is throughbuildFlags
parameter, but it trigger a warning.I suggest we either remove the warning or support new method to customize build flags.
The text was updated successfully, but these errors were encountered: