Unverified Commit 71349fbf authored by Ryan Lahfa's avatar Ryan Lahfa Committed by GitHub
Browse files

Merge pull request #309119 from endocrimes/revert-306241-tailscale

Revert "tailscale: apply basic systemd hardening"
parents 68f45f55 1cc23f96
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -9,7 +9,6 @@
, shadow
, procps
, nixosTests
, fetchpatch
}:

let
@@ -27,15 +26,6 @@ buildGoModule {
  };
  vendorHash = "sha256-pYeHqYd2cCOVQlD1r2lh//KC+732H0lj1fPDBr+W8qA=";

  patches = [
    # Reverts "cmd/tailscaled/tailscaled.service: revert recent hardening"
    (fetchpatch {
      url = "https://github.com/tailscale/tailscale/commit/2889fabaefc50040507ead652d6d2b212f476c2b.patch";
      hash = "sha256-DPBrv7kjSVXhmptUGGzOkaP4iXi/Bym3lvqy4otL9HE=";
      revert = true;
    })
  ];

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

  CGO_ENABLED = 0;