about summary refs log tree commit diff
path: root/pkgs/by-name/md/mdbook-d2/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/md/mdbook-d2/package.nix')
-rw-r--r--pkgs/by-name/md/mdbook-d2/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/md/mdbook-d2/package.nix b/pkgs/by-name/md/mdbook-d2/package.nix
index 8b30e7fea45c..8b8a032654df 100644
--- a/pkgs/by-name/md/mdbook-d2/package.nix
+++ b/pkgs/by-name/md/mdbook-d2/package.nix
@@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
   cargoHash = "sha256-lZ92vvRYXEBMx6ka8RP1wXctf73QNp5rNE8n7O96AEc=";
   doCheck = false;
 
-  buildInputs = lib.optionals stdenv.isDarwin [
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.CoreFoundation
     darwin.apple_sdk.frameworks.CoreServices
   ];