about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLuke Granger-Brown <hg@lukegb.com>2020-06-18T00·27+0100
committerLuke Granger-Brown <hg@lukegb.com>2020-06-18T00·27+0100
commit22821b886bdb161fa6222caa3a77d3e3872a0640 (patch)
treeff846aedf35391a662d58b69d7b3bc3609ad37ba
parentab7ef0c547b474bc31c41f1162b73ee47e34d49e (diff)
chore(3p/go): make hashes more deterministicerer r/1016
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
-rw-r--r--third_party/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/default.nix b/third_party/default.nix
index 485c4537a18a..5499bf90d9e9 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
       '';
     };