inline-c-cpp: fix build on darwin

This commit is contained in:
Bas van Dijk 2016-06-16 01:03:22 +02:00
parent df8958435e
commit d0c7056b92

View file

@ -225,6 +225,15 @@ self: super: {
'';
})) pkgs.libcxx;
inline-c-cpp = if !pkgs.stdenv.isDarwin
then super.inline-c-cpp
else addExtraLibrary (overrideCabal super.inline-c-cpp (drv:
{
postPatch = ''
substituteInPlace inline-c-cpp.cabal --replace stdc++ c++
'';
})) pkgs.libcxx;
# tests don't compile for some odd reason
jwt = dontCheck super.jwt;