From 98c17a68e778bbd3ddb957adb7be7a72ab3505dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Mon, 9 Sep 2019 09:52:08 +0200 Subject: [PATCH] cachix: fix build --- pkgs/development/haskell-modules/configuration-nix.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 29483b56a7d..88ec8ad85ff 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: {