buildGoModule: announce removal of `buildFlags` and `buildFlagsArray`

+2 -2
+1 -1
pkgs/build-support/go/module.nix
··· 313 313 }); 314 314 in 315 315 lib.warnIf (buildFlags != "" || buildFlagsArray != "") 316 - "Use the `ldflags` and/or `tags` attributes instead of `buildFlags`/`buildFlagsArray`" 316 + "`buildFlags`/`buildFlagsArray` are deprecated and will be removed in the 24.11 release. Use the `ldflags` and/or `tags` attributes instead" 317 317 lib.warnIf (builtins.elem "-buildid=" ldflags) "`-buildid=` is set by default as ldflag by buildGoModule" 318 318 lib.warnIf (builtins.elem "-trimpath" GOFLAGS) "`-trimpath` is added by default to GOFLAGS by buildGoModule when allowGoReference isn't set to true" 319 319 lib.warnIf (lib.any (lib.hasPrefix "-mod=") GOFLAGS) "use `proxyVendor` to control Go module/vendor behavior instead of setting `-mod=` in GOFLAGS"
+1 -1
pkgs/build-support/go/package.nix
··· 286 286 }); 287 287 in 288 288 lib.warnIf (buildFlags != "" || buildFlagsArray != "") 289 - "Use the `ldflags` and/or `tags` attributes instead of `buildFlags`/`buildFlagsArray`" 289 + "`buildFlags`/`buildFlagsArray` are deprecated and will be removed in the 24.11 release. Use the `ldflags` and/or `tags` attributes instead" 290 290 lib.warnIf (builtins.elem "-buildid=" ldflags) "`-buildid=` is set by default as ldflag by buildGoModule" 291 291 lib.warnIf (builtins.elem "-trimpath" GOFLAGS) "`-trimpath` is added by default to GOFLAGS by buildGoModule when allowGoReference isn't set to true" 292 292 package