about summary refs log tree commit diff
path: root/pkgs/tools/text/mdbook-graphviz/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/mdbook-graphviz/default.nix')
-rw-r--r--pkgs/tools/text/mdbook-graphviz/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/mdbook-graphviz/default.nix b/pkgs/tools/text/mdbook-graphviz/default.nix
index 19719ac504d7..9328cba50f6c 100644
--- a/pkgs/tools/text/mdbook-graphviz/default.nix
+++ b/pkgs/tools/text/mdbook-graphviz/default.nix
@@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-cMCNZ8Ezp7bFx4EnuZCXhqoaE0yN3iK9KnCYBYGPHKc=";
 
-  buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ];
 
   nativeCheckInputs = [ graphviz ];