Skip to content

Commit

Permalink
headscale: fix cli logging
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed May 14, 2024
1 parent e716a02 commit ab15f51
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/servers/headscale/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
buildGo122Module,
fetchFromGitHub,
fetchpatch,
installShellFiles,
nixosTests,
}:
Expand All @@ -16,6 +17,14 @@ buildGo122Module rec {
hash = "sha256-gd/AJAdOCLyZRPymORMz3EGwL6rt9C9bxFRVSpriR3Y=";
};

patches = [
# https://github.com/juanfont/headscale/pull/1939
(fetchpatch {
url = "https://github.com/juanfont/headscale/pull/1939/commits/973e9cf45858129d169ef9b093125113fb9c107c.patch";
hash = "sha256-VpZvAooBPLJqC6gtm8NSfk1uBqQBJoyiJDlG1qtL2/s=";
})
];

vendorHash = "sha256-HGu/OCtjzPeBki5FSL6v1XivCJ30eqj9rL0x7ZVv1TM=";

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

0 comments on commit ab15f51

Please sign in to comment.