about summary refs log tree commit diff
path: root/pkgs/tools/system/collectd/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/system/collectd/default.nix')
-rw-r--r--pkgs/tools/system/collectd/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/system/collectd/default.nix b/pkgs/tools/system/collectd/default.nix
index bbcc9f704bc4..b75cdb19de16 100644
--- a/pkgs/tools/system/collectd/default.nix
+++ b/pkgs/tools/system/collectd/default.nix
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ pkg-config autoreconfHook ];
   buildInputs = [
     libtool
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.ApplicationServices
   ] ++ plugins.buildInputs;