about summary refs log tree commit diff
path: root/pkgs/tools/misc/fondu/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/fondu/default.nix')
-rw-r--r--pkgs/tools/misc/fondu/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/misc/fondu/default.nix b/pkgs/tools/misc/fondu/default.nix
index 9435d0487b76..fe6ab396d139 100644
--- a/pkgs/tools/misc/fondu/default.nix
+++ b/pkgs/tools/misc/fondu/default.nix
@@ -9,11 +9,11 @@ stdenv.mkDerivation rec {
     sha256 = "152prqad9jszjmm4wwqrq83zk13ypsz09n02nrk1gg0fcxfm7fr2";
   };
 
-  postConfigure = lib.optionalString stdenv.isDarwin ''
+  postConfigure = lib.optionalString stdenv.hostPlatform.isDarwin ''
     substituteInPlace Makefile --replace /System/Library/Frameworks/CoreServices.framework/CoreServices "-framework CoreServices"
   '';
 
-  buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ];
 
   makeFlags = [ "DESTDIR=$(out)" ];