about summary refs log tree commit diff
path: root/pkgs/development/libraries/libical/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libical/default.nix')
-rw-r--r--pkgs/development/libraries/libical/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libical/default.nix b/pkgs/development/libraries/libical/default.nix
index 9d5db75bb121..f6a0555f3412 100644
--- a/pkgs/development/libraries/libical/default.nix
+++ b/pkgs/development/libraries/libical/default.nix
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
     # https://github.com/NixOS/nixpkgs/pull/67204
     # previously with https://github.com/NixOS/nixpkgs/pull/61657#issuecomment-495579489
     # gtk-doc docbook_xsl docbook_xml_dtd_43 # for docs
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     fixDarwinDylibNames
   ];
   nativeInstallCheckInputs = [
@@ -95,7 +95,7 @@ stdenv.mkDerivation rec {
   # Musl does not support TZDIR.
   doInstallCheck = !stdenv.hostPlatform.isMusl;
   enableParallelChecking = false;
-  preInstallCheck = if stdenv.isDarwin then ''
+  preInstallCheck = if stdenv.hostPlatform.isDarwin then ''
     for testexe in $(find ./src/test -maxdepth 1 -type f -executable); do
       for lib in $(cd lib && ls *.3.dylib); do
         install_name_tool -change $lib $out/lib/$lib $testexe