about summary refs log tree commit diff
path: root/pkgs/tools/text/mdbook-plantuml/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/mdbook-plantuml/default.nix')
-rw-r--r--pkgs/tools/text/mdbook-plantuml/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/mdbook-plantuml/default.nix b/pkgs/tools/text/mdbook-plantuml/default.nix
index e5ee827d816e..e3665aa2f43f 100644
--- a/pkgs/tools/text/mdbook-plantuml/default.nix
+++ b/pkgs/tools/text/mdbook-plantuml/default.nix
@@ -33,7 +33,7 @@ rustPlatform.buildRustPackage rec {
   nativeBuildInputs = [ pkg-config ];
 
   buildInputs = [ openssl ]
-    ++ lib.optionals stdenv.isDarwin [ CoreServices ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ];
 
   meta = with lib; {
     description = "mdBook preprocessor to render PlantUML diagrams to png images in the book output directory";