about summary refs log tree commit diff
path: root/pkgs/by-name/md/mdbook-alerts/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/md/mdbook-alerts/package.nix')
-rw-r--r--pkgs/by-name/md/mdbook-alerts/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/md/mdbook-alerts/package.nix b/pkgs/by-name/md/mdbook-alerts/package.nix
index 30f4cc3f6356..a36373848da1 100644
--- a/pkgs/by-name/md/mdbook-alerts/package.nix
+++ b/pkgs/by-name/md/mdbook-alerts/package.nix
@@ -22,7 +22,7 @@ rustPlatform.buildRustPackage {
 
   cargoHash = "sha256-nzVvktweqrow7P/I8DhDoVJNj1COCeEhx6HLY536hYE=";
 
-  buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ];
 
   meta = {
     description = "Preprocessor for mdbook to support the inclusion of Markdown alerts";