exempi: disable tests for i686

Unable to find boost unittest framework.

Tests are still ran on the x86_64 platform

(cherry picked from commit 266f6ee63a562016b28d9a155fc4d84006d746d0)
This commit is contained in:
Jonathan Ringer 2021-05-24 12:04:06 -07:00 committed by Jonathan Ringer
parent b3a9a3e19f
commit befda3568c
1 changed files with 3 additions and 1 deletions

View File

@ -11,12 +11,14 @@ stdenv.mkDerivation rec {
configureFlags = [ configureFlags = [
"--with-boost=${boost.dev}" "--with-boost=${boost.dev}"
] ++ lib.optionals (!doCheck) [
"--enable-unittest=no"
]; ];
buildInputs = [ expat zlib boost ] buildInputs = [ expat zlib boost ]
++ lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.CoreServices ]; ++ lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.CoreServices ];
doCheck = stdenv.isLinux; doCheck = stdenv.isLinux && stdenv.is64bit;
meta = with lib; { meta = with lib; {
description = "An implementation of XMP (Adobe's Extensible Metadata Platform)"; description = "An implementation of XMP (Adobe's Extensible Metadata Platform)";