libcommuni: fix darwin build

/cc ZHF #36454
wip/yesman
Daiderd Jordan 6 years ago
parent 5693c5da8e
commit 421ac69830
No known key found for this signature in database
GPG Key ID: D02435D05B810C96
  1. 8
      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";

Loading…
Cancel
Save