Skip to content

Commit

Permalink
tailscale: fix tailscale ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed May 14, 2024
1 parent 553dab1 commit 8192f8d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pkgs/servers/tailscale/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, stdenv
, buildGoModule
, fetchFromGitHub
, fetchpatch
, makeWrapper
, getent
, iproute2
Expand All @@ -24,6 +25,16 @@ buildGoModule {
rev = "v${version}";
hash = "sha256-1Yt8W/UanAghaElGiD+z7BKeV/Ge+OElA+B9yBnu3vw=";
};

patches = [
# Fix "tailscale ssh" when built with ts_include_cli tag
# https://github.com/tailscale/tailscale/pull/12109
(fetchpatch {
url = "https://github.com/tailscale/tailscale/commit/f2d0e2a2736e49f401bed14b88899a859b32c9cf.patch";
hash = "sha256-SMwqZiGNVflhPShlHP+7Gmn0v4b6Gr4VZGIF/oJAY8M=";
})
];

vendorHash = "sha256-Hd77xy8stw0Y6sfk3/ItqRIbM/349M/4uf0iNy1xJGw=";

nativeBuildInputs = lib.optionals stdenv.isLinux [ makeWrapper ];
Expand Down

0 comments on commit 8192f8d

Please sign in to comment.