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
@@ -4,7 +4,6 @@ buildGoModule rec {
pname = "git-bug";
version = "0.7.1"; # the `rev` below pins the version of the source to get
rev = "2d64b85db71a17ff3277bbbf7ac9d8e81f8e416c";
goPackagePath = "github.com/MichaelMure/git-bug";
src = fetchFromGitHub {
inherit rev;
@@ -19,9 +18,9 @@ buildGoModule rec {
buildFlagsArray = ''
-ldflags=
-X ${goPackagePath}/commands.GitCommit=${rev}
-X ${goPackagePath}/commands.GitLastTag=${version}
-X ${goPackagePath}/commands.GitExactTag=${version}
-X github.com/MichaelMure/git-bug/commands.GitCommit=${rev}
-X github.com/MichaelMure/git-bug/commands.GitLastTag=${version}
-X github.com/MichaelMure/git-bug/commands.GitExactTag=${version}
'';
postInstall = ''