···313313 });
314314in
315315lib.warnIf (buildFlags != "" || buildFlagsArray != "")
316316- "Use the `ldflags` and/or `tags` attributes instead of `buildFlags`/`buildFlagsArray`"
316316+ "`buildFlags`/`buildFlagsArray` are deprecated and will be removed in the 24.11 release. Use the `ldflags` and/or `tags` attributes instead"
317317lib.warnIf (builtins.elem "-buildid=" ldflags) "`-buildid=` is set by default as ldflag by buildGoModule"
318318lib.warnIf (builtins.elem "-trimpath" GOFLAGS) "`-trimpath` is added by default to GOFLAGS by buildGoModule when allowGoReference isn't set to true"
319319lib.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
···286286 });
287287in
288288lib.warnIf (buildFlags != "" || buildFlagsArray != "")
289289- "Use the `ldflags` and/or `tags` attributes instead of `buildFlags`/`buildFlagsArray`"
289289+ "`buildFlags`/`buildFlagsArray` are deprecated and will be removed in the 24.11 release. Use the `ldflags` and/or `tags` attributes instead"
290290lib.warnIf (builtins.elem "-buildid=" ldflags) "`-buildid=` is set by default as ldflag by buildGoModule"
291291lib.warnIf (builtins.elem "-trimpath" GOFLAGS) "`-trimpath` is added by default to GOFLAGS by buildGoModule when allowGoReference isn't set to true"
292292 package