about summary refs log tree commit diff
path: root/pkgs/tools/text/mdbook-katex/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/mdbook-katex/default.nix')
-rw-r--r--pkgs/tools/text/mdbook-katex/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/mdbook-katex/default.nix b/pkgs/tools/text/mdbook-katex/default.nix
index b6c2a1ec1d30..0c2c53825b7e 100644
--- a/pkgs/tools/text/mdbook-katex/default.nix
+++ b/pkgs/tools/text/mdbook-katex/default.nix
@@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-U8uDcNkEyz7zAqCTthY5SVGshsJRKRaoBLOpBpQ9sho=";
 
-  buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ];
 
   meta = with lib; {
     description = "Preprocessor for mdbook, rendering LaTeX equations to HTML at build time";