From 9951ce7762bbdfcc974288e791b5c7b1f5e58951 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 30 Apr 2023 20:45:03 +0000 Subject: [PATCH] tailscale: adapt to new net/netmon paths --- nix/pkgs/tailscale/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/pkgs/tailscale/default.nix b/nix/pkgs/tailscale/default.nix index c5ade28b19..0cee3e9e91 100644 --- a/nix/pkgs/tailscale/default.nix +++ b/nix/pkgs/tailscale/default.nix @@ -7,8 +7,8 @@ tailscale.overrideAttrs (old: { # Always use the polling monitor on routers. The netlink-based monitor is # effectively just a wakeup-every-250ms system which causes ridiculously # high CPU. - rm wgengine/monitor/monitor_linux.go - substituteInPlace wgengine/monitor/monitor_polling.go \ + rm net/netmon/netmon_linux.go + substituteInPlace net/netmon/netmon_polling.go \ --replace \ "//go:build (!linux && !freebsd && !windows && !darwin) || android" \ ""