about summary refs log tree commit diff
path: root/pkgs/development/libraries/capstone/4.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/capstone/4.nix')
-rw-r--r--pkgs/development/libraries/capstone/4.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/capstone/4.nix b/pkgs/development/libraries/capstone/4.nix
index dd31e9feaf62..836bb47568c3 100644
--- a/pkgs/development/libraries/capstone/4.nix
+++ b/pkgs/development/libraries/capstone/4.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [
     cmake
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     fixDarwinDylibNames
   ];