about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--third_party/tailscale/default.nix7
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";