about summary refs log tree commit diff
path: root/pkgs/development/libraries/tdlib/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/tdlib/default.nix')
-rw-r--r--pkgs/development/libraries/tdlib/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/tdlib/default.nix b/pkgs/development/libraries/tdlib/default.nix
index d02bd3b81011..f9a87aa73b51 100644
--- a/pkgs/development/libraries/tdlib/default.nix
+++ b/pkgs/development/libraries/tdlib/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation {
                  function(generate_pkgconfig' \
       --replace '\$'{prefix}/'$'{CMAKE_INSTALL_LIBDIR} '$'{CMAKE_INSTALL_FULL_LIBDIR} \
       --replace '\$'{prefix}/'$'{CMAKE_INSTALL_INCLUDEDIR} '$'{CMAKE_INSTALL_FULL_INCLUDEDIR}
-  '' + lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) ''
+  '' + lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) ''
     sed -i "/vptr/d" test/CMakeLists.txt
   '';