about summary refs log tree commit diff
path: root/pkgs/development/libraries/openexr/3.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/openexr/3.nix')
-rw-r--r--pkgs/development/libraries/openexr/3.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/openexr/3.nix b/pkgs/development/libraries/openexr/3.nix
index 9e6d6eaa65da..56562f771698 100644
--- a/pkgs/development/libraries/openexr/3.nix
+++ b/pkgs/development/libraries/openexr/3.nix
@@ -41,10 +41,10 @@ stdenv.mkDerivation rec {
 
   # Without 'sse' enforcement tests fail on i686 as due to excessive precision as:
   #   error reading back channel B pixel 21,-76 got -nan expected -nan
-  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isi686 "-msse2 -mfpmath=sse";
+  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isi686 "-msse2 -mfpmath=sse";
 
   # https://github.com/AcademySoftwareFoundation/openexr/issues/1400
-  doCheck = !stdenv.isAarch32;
+  doCheck = !stdenv.hostPlatform.isAarch32;
 
   passthru.tests = {
     musl = pkgsCross.musl64.openexr_3;