Skip to content

Commit

Permalink
Update headscale checksum
Browse files Browse the repository at this point in the history
  • Loading branch information
kradalby committed May 30, 2022
1 parent 5316dd9 commit 3a3fc0a
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@
pkgs = nixpkgs.legacyPackages.${prev.system};
in
rec {
headscale =
pkgs.buildGo118Module rec {
pname = "headscale";
version = headscaleVersion;
src = pkgs.lib.cleanSource self;

# 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.
vendorSha256 = "sha256-e3s10NsadWTEk7H7SbEvePhihJ1x2dS9UfIqPNIbJqI=";

ldflags = [ "-s" "-w" "-X github.com/juanfont/headscale/cmd/headscale/cli.Version=v${version}" ];
};

golines =
pkgs.buildGoModule rec {
pname = "golines";
Expand Down Expand Up @@ -51,19 +64,6 @@

subPackages = [ "protoc-gen-grpc-gateway" "protoc-gen-openapiv2" ];
};

headscale =
pkgs.buildGo118Module rec {
pname = "headscale";
version = headscaleVersion;
src = pkgs.lib.cleanSource self;

# 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.
vendorSha256 = "sha256-1yFvqQvsJLmjQn2RLDjwvyiZVDXv0dg/V+UUDvwk6Hg=";

ldflags = [ "-s" "-w" "-X github.com/juanfont/headscale/cmd/headscale/cli.Version=v${version}" ];
};
};
} // flake-utils.lib.eachDefaultSystem
(system:
Expand Down

0 comments on commit 3a3fc0a

Please sign in to comment.