diff --git a/flake.nix b/flake.nix index 6ddca3c85..d138f7bb0 100644 --- a/flake.nix +++ b/flake.nix @@ -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]}