Merge pull request #233845 from figsoda/go
buildGoModule: remove dead code
This commit is contained in:
commit
e07d7e386b
|
@ -2,14 +2,10 @@
|
|||
|
||||
{ name ? "${args'.pname}-${args'.version}"
|
||||
, src
|
||||
, buildInputs ? []
|
||||
, nativeBuildInputs ? []
|
||||
, passthru ? {}
|
||||
, patches ? []
|
||||
|
||||
# Go linker flags, passed to go via -ldflags
|
||||
, ldflags ? []
|
||||
|
||||
# Go tags, passed to go via -tag
|
||||
, tags ? []
|
||||
|
||||
|
@ -55,8 +51,6 @@
|
|||
|
||||
, ... }@args':
|
||||
|
||||
with builtins;
|
||||
|
||||
assert goPackagePath != "" -> throw "`goPackagePath` is not needed with `buildGoModule`";
|
||||
assert (vendorSha256 == "_unset" && vendorHash == "_unset") -> throw "either `vendorHash` or `vendorSha256` is required";
|
||||
assert (vendorSha256 != "_unset" && vendorHash != "_unset") -> throw "both `vendorHash` and `vendorSha256` set. only one can be set.";
|
||||
|
|
Loading…
Reference in a new issue