about summary refs log tree commit diff
path: root/pkgs/tools/text/mdbook-linkcheck/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/mdbook-linkcheck/default.nix')
-rw-r--r--pkgs/tools/text/mdbook-linkcheck/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/text/mdbook-linkcheck/default.nix b/pkgs/tools/text/mdbook-linkcheck/default.nix
index 7129cdd0442c..7ff872a9d0de 100644
--- a/pkgs/tools/text/mdbook-linkcheck/default.nix
+++ b/pkgs/tools/text/mdbook-linkcheck/default.nix
@@ -14,9 +14,9 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-AwixlCL5ZcLgj9wYeBvkSy2U6J8alXf488l8DMn73w4=";
 
-  buildInputs = if stdenv.isDarwin then [ Security ] else [ openssl ];
+  buildInputs = if stdenv.hostPlatform.isDarwin then [ Security ] else [ openssl ];
 
-  nativeBuildInputs = lib.optionals (!stdenv.isDarwin) [ pkg-config ];
+  nativeBuildInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [ pkg-config ];
 
   OPENSSL_NO_VENDOR = 1;