Skip to content

Commit

Permalink
buildGoModule: deprecate vendorSha256 attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronjheng committed Sep 30, 2023
1 parent c3cfbae commit 15e1747
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/build-support/go/module.nix
Expand Up @@ -297,6 +297,7 @@ let
} // meta;
});
in
lib.warnIf (args' ? vendorSha256) "`vendorSha256` is deprecated. Use `vendorHash` instead"
lib.warnIf (buildFlags != "" || buildFlagsArray != "")
"Use the `ldflags` and/or `tags` attributes instead of `buildFlags`/`buildFlagsArray`"
package

0 comments on commit 15e1747

Please sign in to comment.