mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-20 19:09:07 +01:00
Update headscale checksum
This commit is contained in:
parent
5316dd9c27
commit
3a3fc0a4be
26
flake.nix
26
flake.nix
@ -16,6 +16,19 @@
|
|||||||
pkgs = nixpkgs.legacyPackages.${prev.system};
|
pkgs = nixpkgs.legacyPackages.${prev.system};
|
||||||
in
|
in
|
||||||
rec {
|
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 =
|
golines =
|
||||||
pkgs.buildGoModule rec {
|
pkgs.buildGoModule rec {
|
||||||
pname = "golines";
|
pname = "golines";
|
||||||
@ -51,19 +64,6 @@
|
|||||||
|
|
||||||
subPackages = [ "protoc-gen-grpc-gateway" "protoc-gen-openapiv2" ];
|
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
|
} // flake-utils.lib.eachDefaultSystem
|
||||||
(system:
|
(system:
|
||||||
|
Loading…
Reference in New Issue
Block a user