diff options
author | Vincent Ambo <tazjin@google.com> | 2020-02-11T00·01+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-02-11T00·09+0000 |
commit | 9b37bad180424701265c3225970102ce40485604 (patch) | |
tree | 285721a0be1491be156296e53ce9559e4b073cbb | |
parent | 04ffc5e66ffd9dfa2cd1f1288699b8a8aeddc641 (diff) |
fix(third_party/tailscale): Add default relaynode acl.json to output r/529
-rw-r--r-- | third_party/tailscale/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
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"; |