about summary refs log tree commit diff
path: root/pkgs/development/libraries/libyuv/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libyuv/default.nix')
-rw-r--r--pkgs/development/libraries/libyuv/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libyuv/default.nix b/pkgs/development/libraries/libyuv/default.nix
index 68d3b5ff2789..1062d527fa2a 100644
--- a/pkgs/development/libraries/libyuv/default.nix
+++ b/pkgs/development/libraries/libyuv/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
   ];
 
   # NEON does not work on aarch64, we disable it
-  cmakeFlags = lib.optionals stdenv.isAarch64 ["-DCMAKE_CXX_FLAGS=-DLIBYUV_DISABLE_NEON"];
+  cmakeFlags = lib.optionals stdenv.hostPlatform.isAarch64 ["-DCMAKE_CXX_FLAGS=-DLIBYUV_DISABLE_NEON"];
 
   buildInputs = [ libjpeg ];