about summary refs log tree commit diff
path: root/pkgs/by-name/ta/tailscale-nginx-auth/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ta/tailscale-nginx-auth/package.nix')
-rw-r--r--pkgs/by-name/ta/tailscale-nginx-auth/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/ta/tailscale-nginx-auth/package.nix b/pkgs/by-name/ta/tailscale-nginx-auth/package.nix
index 919a2e77a66b..9423cb2e46a6 100644
--- a/pkgs/by-name/ta/tailscale-nginx-auth/package.nix
+++ b/pkgs/by-name/ta/tailscale-nginx-auth/package.nix
@@ -15,7 +15,7 @@ buildGo123Module {
     "-X tailscale.com/version.shortStamp=${tailscale.version}"
   ];
 
-  postInstall = lib.optionalString stdenv.isLinux ''
+  postInstall = lib.optionalString stdenv.hostPlatform.isLinux ''
     mv $out/bin/nginx-auth $out/bin/tailscale.nginx-auth
     sed -i -e "s#/usr/sbin#$out/bin#" ./cmd/nginx-auth/tailscale.nginx-auth.service
     install -D -m0444 -t $out/lib/systemd/system ./cmd/nginx-auth/tailscale.nginx-auth.service