about summary refs log tree commit diff
path: root/pkgs/by-name/do/docfd/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/do/docfd/package.nix')
-rw-r--r--pkgs/by-name/do/docfd/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/do/docfd/package.nix b/pkgs/by-name/do/docfd/package.nix
index 11ddaace86fe..e4828191c0c6 100644
--- a/pkgs/by-name/do/docfd/package.nix
+++ b/pkgs/by-name/do/docfd/package.nix
@@ -16,7 +16,7 @@
 let
   # Needed for x86_64-darwin
   buildDunePackage' = ocamlPackages.buildDunePackage.override {
-    stdenv = if stdenv.isDarwin then overrideSDK stdenv "11.0" else stdenv;
+    stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv;
   };
 in
 buildDunePackage' rec {