cachix: fix build

This commit is contained in:
Domen Kožar 2019-09-09 09:52:08 +02:00
parent a96ef6cca5
commit 98c17a68e7
No known key found for this signature in database
GPG Key ID: C2FFBCAFD2C24246

View File

@ -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: {