about summary refs log tree commit diff
path: root/pkgs/development/compilers/ocaml/4.00.1.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/ocaml/4.00.1.nix')
-rw-r--r--pkgs/development/compilers/ocaml/4.00.1.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/ocaml/4.00.1.nix b/pkgs/development/compilers/ocaml/4.00.1.nix
index e4a4ed0f9580..c9b94abd2964 100644
--- a/pkgs/development/compilers/ocaml/4.00.1.nix
+++ b/pkgs/development/compilers/ocaml/4.00.1.nix
@@ -1,8 +1,8 @@
 { lib, stdenv, fetchurl, fetchpatch, ncurses, libX11 }:
 
 let
-   useX11 = !stdenv.isAarch32 && !stdenv.isMips;
-   useNativeCompilers = !stdenv.isMips;
+   useX11 = !stdenv.hostPlatform.isAarch32 && !stdenv.hostPlatform.isMips;
+   useNativeCompilers = !stdenv.hostPlatform.isMips;
    inherit (lib) optional optionals optionalString;
 in