From 85be80f2ff7482f53f6581be8683036d7a59c0e7 Mon Sep 17 00:00:00 2001 From: Ross Light Date: Fri, 8 Dec 2023 10:37:36 -0800 Subject: [PATCH] go.mod: update pkg/git to 1bd41b3c42a8af01b283e1fe2c20ee40fdd134b5 Picks up fix for reading from empty repository. --- default.nix | 2 +- flake.nix | 2 ++ go.mod | 2 +- go.sum | 4 ++-- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/default.nix b/default.nix index 55b4bac..47c3460 100644 --- a/default.nix +++ b/default.nix @@ -38,7 +38,7 @@ in buildGoModule { "-X" "main.buildCommit=${commit}" ]; - vendorHash = "sha256-S8g7BAdGyt4RznioaRO5jmLDMX4O6JZqt1ul3RKAuDQ="; + vendorHash = "sha256-iWGO5Hh5bMS/DsCKham7T+V9Tyib0Py9oQlQzQytUWk="; nativeBuildInputs = [ pandoc installShellFiles makeWrapper ]; nativeCheckInputs = [ bash coreutils git ]; diff --git a/flake.nix b/flake.nix index 7a54dc3..45d0a28 100644 --- a/flake.nix +++ b/flake.nix @@ -52,6 +52,8 @@ pkgs.gotools # stringer, etc. pkgs.python3 ]; + + hardeningDisable = [ "fortify" ]; }; checks = { diff --git a/go.mod b/go.mod index 18333c7..fd89437 100644 --- a/go.mod +++ b/go.mod @@ -18,7 +18,7 @@ go 1.21.4 require ( gg-scm.io/pkg/ghdevice v0.1.0 - gg-scm.io/pkg/git v0.11.0 + gg-scm.io/pkg/git v0.11.1-0.20231208183014-1bd41b3c42a8 github.com/google/go-cmp v0.5.9 golang.org/x/exp v0.0.0-20230728194245-b0cb94b80691 golang.org/x/sys v0.1.0 diff --git a/go.sum b/go.sum index 9425cff..a430564 100644 --- a/go.sum +++ b/go.sum @@ -35,8 +35,8 @@ crawshaw.io/iox v0.0.0-20181124134642-c51c3df30797/go.mod h1:sXBiorCo8c46JlQV3oX dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= gg-scm.io/pkg/ghdevice v0.1.0 h1:WF7J5QPL/D9jMCmycpvb87zJceQwsNTHjU9Mn/2wyAU= gg-scm.io/pkg/ghdevice v0.1.0/go.mod h1:Cm60XpVqtWmOy5W109MLJ9KBlw25oHEliw/9ivICTQA= -gg-scm.io/pkg/git v0.11.0 h1:BJSOJD3sqdgTPVwa3Srj8FztP7IjyqUJuTk3+MvHJFA= -gg-scm.io/pkg/git v0.11.0/go.mod h1:OcXL1djMu2vkFnUKp32fqRzAeKvPZOIwrQpPtKYDLCo= +gg-scm.io/pkg/git v0.11.1-0.20231208183014-1bd41b3c42a8 h1:Dj+aRZE6WGElNja37gLgKMdOnDiqBxTGD/fYMA7kaQo= +gg-scm.io/pkg/git v0.11.1-0.20231208183014-1bd41b3c42a8/go.mod h1:OcXL1djMu2vkFnUKp32fqRzAeKvPZOIwrQpPtKYDLCo= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=