diff options
author | Aaron Jheng <wentworth@outlook.com> | 2023-09-30 14:15:02 +0000 |
---|---|---|
committer | Jörg Thalheim <Mic92@users.noreply.github.com> | 2023-11-14 09:37:22 +0100 |
commit | c3104c4cad14301c1866f76f0d374364feae4d29 (patch) | |
tree | 59598a3376febd2c2de11aa3fa005bac6acdbfb5 /doc/languages-frameworks | |
parent | 39bf010bb0831d061463ac9d0869dc59a1d5807c (diff) | |
download | nixpkgs-c3104c4cad14301c1866f76f0d374364feae4d29.tar nixpkgs-c3104c4cad14301c1866f76f0d374364feae4d29.tar.gz nixpkgs-c3104c4cad14301c1866f76f0d374364feae4d29.tar.bz2 nixpkgs-c3104c4cad14301c1866f76f0d374364feae4d29.tar.lz nixpkgs-c3104c4cad14301c1866f76f0d374364feae4d29.tar.xz nixpkgs-c3104c4cad14301c1866f76f0d374364feae4d29.tar.zst nixpkgs-c3104c4cad14301c1866f76f0d374364feae4d29.zip |
buildGoModule: deprecate vendorSha256 attribute
Diffstat (limited to 'doc/languages-frameworks')
-rw-r--r-- | doc/languages-frameworks/go.section.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/languages-frameworks/go.section.md b/doc/languages-frameworks/go.section.md index 59856b92c9e..884ebcebf7f 100644 --- a/doc/languages-frameworks/go.section.md +++ b/doc/languages-frameworks/go.section.md @@ -20,7 +20,7 @@ In the following is an example expression using `buildGoModule`, the following a To obtain the actual hash, set `vendorHash = lib.fakeHash;` and run the build ([more details here](#sec-source-hashes)). - `proxyVendor`: Fetches (go mod download) and proxies the vendor directory. This is useful if your code depends on c code and go mod tidy does not include the needed sources to build or if any dependency has case-insensitive conflicts which will produce platform-dependent `vendorHash` checksums. -- `modPostBuild`: Shell commands to run after the build of the goModules executes `go mod vendor`, and before calculating fixed output derivation's `vendorHash` (or `vendorSha256`). Note that if you change this attribute, you need to update `vendorHash` (or `vendorSha256`) attribute. +- `modPostBuild`: Shell commands to run after the build of the goModules executes `go mod vendor`, and before calculating fixed output derivation's `vendorHash`. Note that if you change this attribute, you need to update `vendorHash` attribute. ```nix pet = buildGoModule rec { |