treewide: remove obsolete attribute goPackagePath in buildGoModule derivations (#95092)

The buildGoModule infrastructure does not make use of goPackagePath it is a residue from buildGoPackage.
This commit is contained in:
Timothy Stott
2020-08-11 21:04:55 +00:00
committed by GitHub
parent 4c3b64adf4
commit ba7c0893d4
31 changed files with 16 additions and 64 deletions
+1 -2
View File
@@ -11,14 +11,13 @@ buildGoModule rec {
sha256 = "0qyfv6h6m86m5bwayj0s1pjldnbagy63zc2ygzpnicihmd58khny";
};
goPackagePath = "github.com/Dreamacro/clash";
vendorSha256 = "0ap6wsx23s4q730s6d5cgc4ginh8zj5sd32k0za49fh50v8k8zbh";
doCheck = false;
buildFlagsArray = [
"-ldflags="
"-X ${goPackagePath}/constant.Version=${version}"
"-X github.com/Dreamacro/clash/constant.Version=${version}"
];
meta = with stdenv.lib; {