Update golines and fix go mod checksum

This commit is contained in:
Kristoffer Dalby 2022-05-30 11:13:31 +02:00
parent 6eac5046c6
commit fc502e1e79

View file

@ -22,7 +22,7 @@
golines = golines =
pkgs.buildGoModule rec { pkgs.buildGoModule rec {
pname = "golines"; pname = "golines";
version = "0.9.0"; version = "0.10.0";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "segmentio"; owner = "segmentio";
@ -63,7 +63,7 @@
# When updating go.mod or go.sum, a new sha will need to be calculated, # When updating go.mod or go.sum, a new sha will need to be calculated,
# update this if you have a mismatch after doing a change to thos files. # update this if you have a mismatch after doing a change to thos files.
vendorSha256 = "sha256-bYEN0Rz7D1oJIIUjAHxdPB0CkVlb91f1lIQbucLnirg="; vendorSha256 = "sha256-hZXNbbPy1XcCd3t2jBRMcvrMnCDcUpROK+NZYCXx6XY=";
ldflags = [ "-s" "-w" "-X github.com/juanfont/headscale/cmd/headscale/cli.Version=v${version}" ]; ldflags = [ "-s" "-w" "-X github.com/juanfont/headscale/cmd/headscale/cli.Version=v${version}" ];
}; };