about summary refs log tree commit diff
path: root/pkgs/development/libraries/libstatgrab/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libstatgrab/default.nix')
-rw-r--r--pkgs/development/libraries/libstatgrab/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libstatgrab/default.nix b/pkgs/development/libraries/libstatgrab/default.nix
index abda8137f5c8..9b45ffb58ce7 100644
--- a/pkgs/development/libraries/libstatgrab/default.nix
+++ b/pkgs/development/libraries/libstatgrab/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-VoiqSmhVR9cXSoo3PqnY7pJ+dm48wwK97jRSPCxdbBE=";
   };
 
-  buildInputs = lib.optional stdenv.isDarwin IOKit;
+  buildInputs = lib.optional stdenv.hostPlatform.isDarwin IOKit;
 
   meta = with lib; {
     homepage = "https://www.i-scream.org/libstatgrab/";