From 559916f6480b0cd745e52970dd1167ce7abbc6b1 Mon Sep 17 00:00:00 2001 From: Bas van Dijk Date: Tue, 1 Jan 2019 16:51:24 +0100 Subject: [PATCH] haskellPackages.inline-c-cpp: disable test-suite on darwin to fix the build --- .../haskell-modules/configuration-common.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 9e0dd0758b0..cf762b03a5a 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -173,12 +173,14 @@ self: super: { 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; + else + let drv = addExtraLibrary (overrideCabal super.inline-c-cpp (drv: { + postPatch = '' + substituteInPlace inline-c-cpp.cabal --replace stdc++ c++ + ''; + })) pkgs.libcxx; + in # https://github.com/fpco/inline-c/issues/75 + dontCheck drv; inline-java = addBuildDepend super.inline-java pkgs.jdk;