about summary refs log tree commit diff
path: root/pkgs/development/tools/py-spy/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/py-spy/default.nix')
-rw-r--r--pkgs/development/tools/py-spy/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/py-spy/default.nix b/pkgs/development/tools/py-spy/default.nix
index 8522333ef9db..01d847649bbf 100644
--- a/pkgs/development/tools/py-spy/default.nix
+++ b/pkgs/development/tools/py-spy/default.nix
@@ -33,7 +33,7 @@ rustPlatform.buildRustPackage rec {
     python3
   ];
 
-  buildInputs = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [
+  buildInputs = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
     # Pull a header that contains a definition of proc_pid_rusage().
     darwin.apple_sdk_11_0.Libsystem
   ];