about summary refs log tree commit diff
path: root/pkgs/by-name/te/telegraf/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/te/telegraf/package.nix')
-rw-r--r--pkgs/by-name/te/telegraf/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/te/telegraf/package.nix b/pkgs/by-name/te/telegraf/package.nix
index bda948d342aa..cb98c85bf45b 100644
--- a/pkgs/by-name/te/telegraf/package.nix
+++ b/pkgs/by-name/te/telegraf/package.nix
@@ -34,7 +34,7 @@ buildGo123Module rec {
     version = testers.testVersion {
       package = telegraf;
     };
-  } // lib.optionalAttrs stdenv.isLinux {
+  } // lib.optionalAttrs stdenv.hostPlatform.isLinux {
     inherit (nixosTests) telegraf;
   };