about summary refs log tree commit diff
path: root/pkgs/development/libraries/libcommuni
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2018-03-17 14:40:31 +0100
committerDaiderd Jordan <daiderd@gmail.com>2018-03-17 16:37:52 +0100
commit421ac6983090d2f153e1e6e480f050cbbadbe15c (patch)
treef73379cfe583ce9fa2ce835ae9df5060a30b2ea4 /pkgs/development/libraries/libcommuni
parent5693c5da8efb0ba48e2f60b06ffea25c604db040 (diff)
libcommuni: fix darwin build
/cc ZHF #36454
Diffstat (limited to 'pkgs/development/libraries/libcommuni')
-rw-r--r--pkgs/development/libraries/libcommuni/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libcommuni/default.nix b/pkgs/development/libraries/libcommuni/default.nix
index 6192266bd4aa2..0788236b60175 100644
--- a/pkgs/development/libraries/libcommuni/default.nix
+++ b/pkgs/development/libraries/libcommuni/default.nix
@@ -19,12 +19,16 @@ stdenv.mkDerivation rec {
   enableParallelBuilding = true;
 
   dontUseQmakeConfigure = true;
-  configureFlags = "-config release";
+  configureFlags = [ "-config" "release" ];
+
   preConfigure = ''
     sed -i -e 's|/bin/pwd|pwd|g' configure
   '';
 
-  doCheck = true;
+  # The tests fail on darwin because of install_name if they run
+  # before the frameworks are installed.
+  doInstallCheck = true;
+  installCheckTarget = "check";
 
   # Hack to avoid TMPDIR in RPATHs.
   preFixup = "rm -rf lib";