Merge pull request #233845 from figsoda/go

buildGoModule: remove dead code

authored by Ilan Joselevich and committed by GitHub e07d7e38 eea7fbca

-6
-6
pkgs/build-support/go/module.nix
··· 2 2 3 3 { name ? "${args'.pname}-${args'.version}" 4 4 , src 5 - , buildInputs ? [] 6 5 , nativeBuildInputs ? [] 7 6 , passthru ? {} 8 7 , patches ? [] 9 - 10 - # Go linker flags, passed to go via -ldflags 11 - , ldflags ? [] 12 8 13 9 # Go tags, passed to go via -tag 14 10 , tags ? [] ··· 54 50 , buildFlagsArray ? "" 55 51 56 52 , ... }@args': 57 - 58 - with builtins; 59 53 60 54 assert goPackagePath != "" -> throw "`goPackagePath` is not needed with `buildGoModule`"; 61 55 assert (vendorSha256 == "_unset" && vendorHash == "_unset") -> throw "either `vendorHash` or `vendorSha256` is required";