aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/version-management/git-and-tools/git-bug/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/version-management/git-and-tools/git-bug/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/version-management/git-and-tools/git-bug/default.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/nixpkgs/pkgs/applications/version-management/git-and-tools/git-bug/default.nix b/nixpkgs/pkgs/applications/version-management/git-and-tools/git-bug/default.nix
index 0903af7499a..44eba8c4b39 100644
--- a/nixpkgs/pkgs/applications/version-management/git-and-tools/git-bug/default.nix
+++ b/nixpkgs/pkgs/applications/version-management/git-and-tools/git-bug/default.nix
@@ -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;
@@ -15,11 +14,13 @@ buildGoModule rec {
vendorSha256 = "0c8b47lj4wl3s21lm0vx4z7hznylm8c4fb8b8gxm278kn3zys607";
+ doCheck = false;
+
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 = ''
@@ -32,7 +33,6 @@ buildGoModule rec {
description = "Distributed bug tracker embedded in Git";
homepage = "https://github.com/MichaelMure/git-bug";
license = licenses.gpl3;
- platforms = platforms.all;
maintainers = with maintainers; [ royneary ];
};
-} \ No newline at end of file
+}