diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 29483b56a7db..88ec8ad85ff0 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -94,7 +94,12 @@ self: super: builtins.intersectAttrs super { # Won't find it's header files without help. sfml-audio = appendConfigureFlag super.sfml-audio "--extra-include-dirs=${pkgs.openal}/include/AL"; - cachix = enableSeparateBinOutput super.cachix; + cachix = overrideCabal (addBuildTools (enableSeparateBinOutput super.cachix) [pkgs.boost]) (drv: { + postPatch = (drv.postPatch or "") + '' + substituteInPlace cachix.cabal --replace "c++14" "c++17" + ''; + }); + ghcid = enableSeparateBinOutput super.ghcid; hzk = overrideCabal super.hzk (drv: {