gomod2nix/builder
adisbladis 24c5e41124 buildGoApplication: Introduce ldflags argument
Previously it was not possible to define multiple ldflags, since only
the last definition applies, and there's some quoting issues with
`buildFlagsArray`. With the new `ldflags` argument it's possible to do
this, e.g.

    ldflags = drv.ldflags or [] ++ [
      "-X main.Version=1.0"
    ]

can now properly append a flag without clearing all previous ldflags.

This is a port of 155ae682a5
2022-06-14 19:14:19 +08:00
..
install Precompile internal packages instead of using go run 2022-06-13 20:37:42 +08:00
symlink Build non-development packages in the same way as development packages 2022-06-14 08:19:42 +08:00
default.nix buildGoApplication: Introduce ldflags argument 2022-06-14 19:14:19 +08:00
fetch.sh fetcher: Make sure sources are writable before filtering .ds_store 2022-06-13 20:37:42 +08:00
parser.nix Fix go.mod parser for repeated replace directives 2022-05-29 16:23:37 +08:00