Merge pull request #16262 from basvandijk/fix-inline-c-cpp-darwin

inline-c-cpp: fix build on darwin
This commit is contained in:
Peter Simons
2016-07-15 16:21:46 +02:00
committed by GitHub

View File

@@ -237,6 +237,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;