mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-21 20:22:41 +09:00
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:
1 parent
b31eb1c9bc
commit
6183501e99
1 file changed
+1
-1
@@ -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]}
|
||||
|
||||
|
||||
Reference in new issue
Block a user