flake.nix: resolve deprecation warning (#22234)

Resolve stdenv.isLinux is deprecated warning

Signed-off-by: Mike O'Driscoll <mikeo@tailscale.com>
This commit is contained in:
Mike O'Driscoll authored and GitHub committed 2026-11-07 10:17:56 -05:00
1 parent b31eb1c9bc
commit 6183501e99
1 file changed
+1 -1
+1 -1
View File
@@ -121,7 +121,7 @@
# things, but for now, we hardcode the default of port 41641 (taken from
# ./cmd/tailscaled/tailscaled.defaults).
postInstall =
pkgs.lib.optionalString pkgs.stdenv.isLinux ''
pkgs.lib.optionalString pkgs.stdenv.hostPlatform.isLinux ''
wrapProgram $out/bin/tailscaled --prefix PATH : ${pkgs.lib.makeBinPath [pkgs.iproute2 pkgs.iptables pkgs.getent pkgs.shadow]}
wrapProgram $out/bin/tailscale --suffix PATH : ${pkgs.lib.makeBinPath [pkgs.procps]}