From 9b37bad180424701265c3225970102ce40485604 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 11 Feb 2020 00:01:32 +0000 Subject: fix(third_party/tailscale): Add default relaynode acl.json to output --- third_party/tailscale/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'third_party') diff --git a/third_party/tailscale/default.nix b/third_party/tailscale/default.nix index b315424ba3d2..6a80d760e5ad 100644 --- a/third_party/tailscale/default.nix +++ b/third_party/tailscale/default.nix @@ -5,7 +5,7 @@ let inherit (pkgs.third_party) buildGoModule fetchFromGitHub; -in buildGoModule { +in buildGoModule rec { pname = "tailscale"; version = "fef25489"; @@ -25,6 +25,11 @@ in buildGoModule { "cmd/tailscaled" ]; + postInstall = '' + mkdir -p $out/etc/ + cp ${src}/cmd/relaynode/acl.json $out/etc/ + ''; + meta = with lib; { homepage = "https://tailscale.com/"; description = "Private WireGuard networks made easy"; -- cgit 1.4.1