From 22821b886bdb161fa6222caa3a77d3e3872a0640 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Thu, 18 Jun 2020 01:27:32 +0100 Subject: chore(3p/go): make hashes more deterministicerer Because this is using %h, we're subject to the whims of the remote in trying to make sure that we get a consistent commit hash length in the VERSION stamp. Change-Id: I716193c1440ec367880b6a5f7dfa4f85a11c19a9 --- third_party/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'third_party') diff --git a/third_party/default.nix b/third_party/default.nix index 485c4537a1..5499bf90d9 100644 --- a/third_party/default.nix +++ b/third_party/default.nix @@ -198,11 +198,11 @@ in exposed.lib.fix(self: exposed // { # gave me `go tool go2go`. rev = "ad307489d41133f32c779cfa1b0db4a852ace047"; leaveDotGit = true; - sha256 = "0wxa1zawvmf0hflrb42qi1ggrj28nwr8vjmmygnxny8f00xi8198"; + sha256 = "1nxmqdlyfx7w3g5vhjfq24yrc9hwpsa2mjv58xrmhh8vvy50ziqq"; postFetch = '' cd $out - ${nixpkgs.git}/bin/git log -n 1 "--format=format: +%h %cd" HEAD > VERSION + ${nixpkgs.git}/bin/git log -n 1 "--format=format:devel +%H %cd" HEAD > VERSION rm -rf .git ''; }; -- cgit 1.4.1