mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
Merge pull request #16262 from basvandijk/fix-inline-c-cpp-darwin
inline-c-cpp: fix build on darwin
This commit is contained in:
commit
9fc0347c93
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user