nix-community / gomod2nix

Convert applications using Go modules to Nix expressions [maintainer=@adisbladis]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

support passing extra build flags

yihuang opened this issue · comments

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 through buildFlags parameter, but it trigger a warning.
I suggest we either remove the warning or support new method to customize build flags.

I have a similar problem, but with -buildmode pie, which is required for building with the Musl standard library.