about summary refs log tree commit diff
path: root/pkgs/tools/text/mdbook-footnote/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/mdbook-footnote/default.nix')
-rw-r--r--pkgs/tools/text/mdbook-footnote/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/mdbook-footnote/default.nix b/pkgs/tools/text/mdbook-footnote/default.nix
index 1b3ad02e5c7f..791cb07d02be 100644
--- a/pkgs/tools/text/mdbook-footnote/default.nix
+++ b/pkgs/tools/text/mdbook-footnote/default.nix
@@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-Ig+uVCO5oHIkkvFsKiBiUFzjUgH/Pydn4MVJHb2wKGc=";
 
-  buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ];
 
   meta = with lib; {
     description = "Preprocessor for mdbook to support the inclusion of automatically numbered footnotes";