about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2021-05-24 12:04:06 -0700
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-05-24 23:21:03 -0700
commit266f6ee63a562016b28d9a155fc4d84006d746d0 (patch)
treed669c73204734ddeb89d3fd95667c066294281db /pkgs
parent3973a5644052ba2145f08820719fda72a36a26c7 (diff)
exempi: disable tests for i686
Unable to find boost unittest framework.

Tests are still ran on the x86_64 platform
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/exempi/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/exempi/default.nix b/pkgs/development/libraries/exempi/default.nix
index 356959b429f24..332de1595a064 100644
--- a/pkgs/development/libraries/exempi/default.nix
+++ b/pkgs/development/libraries/exempi/default.nix
@@ -11,12 +11,14 @@ stdenv.mkDerivation rec {
 
   configureFlags = [
     "--with-boost=${boost.dev}"
+  ] ++ lib.optionals (!doCheck) [
+    "--enable-unittest=no"
   ];
 
   buildInputs = [ expat zlib boost ]
     ++ lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.CoreServices ];
 
-  doCheck = stdenv.isLinux;
+  doCheck = stdenv.isLinux && stdenv.is64bit;
 
   meta = with lib; {
     description = "An implementation of XMP (Adobe's Extensible Metadata Platform)";