From 8798de63fb0c4bf1680d5ba771052d5f2d00ee15 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Wed, 31 Oct 2018 08:46:48 -0500 Subject: [PATCH] gitAndTools.grv: 0.2.0 -> 0.3.0 Remove 'update_latest_release.go' so we don't try to build it since this fails due to unmet dependencies. AFAICT this utility is only meant for developer use anyway, and helps manage/create new github releases for the project. --- .../version-management/git-and-tools/grv/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/version-management/git-and-tools/grv/default.nix b/pkgs/applications/version-management/git-and-tools/grv/default.nix index 962ddf98d6c..dd080799557 100644 --- a/pkgs/applications/version-management/git-and-tools/grv/default.nix +++ b/pkgs/applications/version-management/git-and-tools/grv/default.nix @@ -1,6 +1,6 @@ { stdenv, buildGo19Package, fetchFromGitHub, curl, libgit2_0_27, ncurses, pkgconfig, readline }: let - version = "0.2.0"; + version = "0.3.0"; in buildGo19Package { name = "grv-${version}"; @@ -14,10 +14,14 @@ buildGo19Package { owner = "rgburke"; repo = "grv"; rev = "v${version}"; - sha256 = "0hlqw6b51jglqzzjgazncckpgarp25ghshl0lxv1mff80jg8wd1a"; + sha256 = "00v502mwnpv09l7fsbq3s72i5fz5dxbildwxgw0r8zzf6d54xrgl"; fetchSubmodules = true; }; + postPatch = '' + rm util/update_latest_release.go + ''; + buildFlagsArray = [ "-ldflags=" "-X main.version=${version}" ]; meta = with stdenv.lib; {