about summary refs log tree commit diff
path: root/pkgs/development/compilers/polyml/5.7.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/polyml/5.7.nix')
-rw-r--r--pkgs/development/compilers/polyml/5.7.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/compilers/polyml/5.7.nix b/pkgs/development/compilers/polyml/5.7.nix
index f48377e0e0ac2..471e8b2fd9f10 100644
--- a/pkgs/development/compilers/polyml/5.7.nix
+++ b/pkgs/development/compilers/polyml/5.7.nix
@@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
   pname = "polyml";
   version = "5.7.1";
 
-  prePatch = lib.optionalString stdenv.isDarwin ''
+  prePatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
     substituteInPlace configure.ac --replace stdc++ c++
   '';
 
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ libffi gmp ];
 
-  nativeBuildInputs = lib.optional stdenv.isDarwin autoreconfHook;
+  nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin autoreconfHook;
 
   configureFlags = [
     "--enable-shared"
@@ -45,6 +45,6 @@ stdenv.mkDerivation rec {
     platforms = with platforms; (linux ++ darwin);
     maintainers = with maintainers; [ maggesi ];
     # never built on aarch64-darwin since first introduction in nixpkgs
-    broken = stdenv.isDarwin && stdenv.isAarch64;
+    broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64;
   };
 }