diff options
author | Luke Granger-Brown <hg@lukegb.com> | 2020-06-18T00·27+0100 |
---|---|---|
committer | Luke Granger-Brown <hg@lukegb.com> | 2020-06-18T00·27+0100 |
commit | 22821b886bdb161fa6222caa3a77d3e3872a0640 (patch) | |
tree | ff846aedf35391a662d58b69d7b3bc3609ad37ba /third_party/default.nix | |
parent | ab7ef0c547b474bc31c41f1162b73ee47e34d49e (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
Diffstat (limited to 'third_party/default.nix')
-rw-r--r-- | third_party/default.nix | 4 |
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 ''; }; |