haskellPackages.inline-c-cpp: fix darwin build

This commit is contained in:
zowoq 2023-08-10 16:55:31 +10:00
parent b88fc6c5b0
commit bdea49df12

View file

@ -301,6 +301,15 @@ self: super: ({
'' + drv.postPatch or "";
}) super.foldl;
# https://hydra.nixos.org/build/230964714/nixlog/1
inline-c-cpp = appendPatch (pkgs.fetchpatch {
url = "https://github.com/fpco/inline-c/commit/e8dc553b13bb847409fdced649a6a863323cff8a.patch";
name = "revert-use-system-cxx-std-lib.patch";
sha256 = "sha256-ql1/+8bvmWexyCdFR0VS4M4cY2lD0Px/9dHYLqlKyNA=";
revert = true;
stripLen = 1;
}) super.inline-c-cpp;
} // lib.optionalAttrs pkgs.stdenv.isAarch64 { # aarch64-darwin
# https://github.com/fpco/unliftio/issues/87