mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-09 16:18:34 +01:00
build-support/go: clarify vendorHash
So programs doesn't need dependencies (e.g., issue2md), that doesn't mean the dependencies are in the source tree.
This commit is contained in:
parent
c7f963fb87
commit
474f62e914
|
|
@ -24,8 +24,8 @@ lib.extendMkDerivation {
|
|||
modRoot ? "./",
|
||||
|
||||
# The SRI hash of the vendored dependencies.
|
||||
# If `vendorHash` is `null`, no dependencies are fetched and
|
||||
# the build relies on the vendor folder within the source.
|
||||
# If `null`, it means the project either has no external dependencies
|
||||
# or the vendored dependencies are already present in the source tree.
|
||||
vendorHash ? throw (
|
||||
if args ? vendorSha256 then
|
||||
"buildGoModule: Expect vendorHash instead of vendorSha256"
|
||||
|
|
|
|||
Loading…
Reference in a new issue