From 0af2179cf6507dfd111e72a9185eac6285a19274 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 11 May 2023 09:24:48 +0200 Subject: [PATCH] openvino: fix build on aarch64-linux https://hydra.nixos.org/build/218868659 --- pkgs/development/libraries/openvino/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/openvino/default.nix b/pkgs/development/libraries/openvino/default.nix index 2f8ecd5fc81e..68e3de522769 100644 --- a/pkgs/development/libraries/openvino/default.nix +++ b/pkgs/development/libraries/openvino/default.nix @@ -140,6 +140,8 @@ stdenv.mkDerivation rec { "-DENABLE_SAMPLES:BOOL=OFF" ]; + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isAarch64 "-Wno-narrowing"; + autoPatchelfIgnoreMissingDeps = [ "libngraph_backend.so" ];