@ -46,6 +46,9 @@
# Not needed with buildGoModule
, goPackagePath ? ""
# needed for buildFlags warning
, buildFlags ? ""
, ... }@args':
with builtins;
@ -268,4 +271,6 @@ let
};
});
in
lib.warnIf (buildFlags != "")
"Use the `ldflags` and/or `tags` attributes instead of `buildFlags`"
package
@ -43,6 +43,9 @@
, CGO_ENABLED ? go.CGO_ENABLED
, meta ? {}, ... } @ args:
@ -257,4 +260,6 @@ let
} // meta;