about summary refs log tree commit diff
path: root/pkgs/development/libraries/geogram/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/geogram/default.nix')
-rw-r--r--pkgs/development/libraries/geogram/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/geogram/default.nix b/pkgs/development/libraries/geogram/default.nix
index 619b5dfcdf57..444975de853c 100644
--- a/pkgs/development/libraries/geogram/default.nix
+++ b/pkgs/development/libraries/geogram/default.nix
@@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
     ./replace-bundled-zlib.patch
   ];
 
-  postPatch = lib.optionalString stdenv.isAarch64 ''
+  postPatch = lib.optionalString stdenv.hostPlatform.isAarch64 ''
     substituteInPlace cmake/platforms/*/config.cmake \
       --replace "-m64" ""
   '';
@@ -120,7 +120,7 @@ stdenv.mkDerivation rec {
 
     # Broken on aarch64-linux as of version 1.8.3
     # See https://github.com/BrunoLevy/geogram/issues/74
-    broken = stdenv.isLinux && stdenv.isAarch64;
+    broken = stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64;
 
     platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
     maintainers = with maintainers; [ tmarkus ];