git.iko.soy/typeable/cabal2nix
on master help sign in
Add blaze-builder as an input to aeson in post-processing.

Aeson optionally depends on blaze-builder if the compiler's version of ByteString is too old to contain a builder.

commit660f980ff7fa6a114dd4be7a59f9d3797fa98623 authorPeter Simons <simons@cryp.to> dateFri 21 Feb 2014, 21:58 (13 years ago) parent1d88fbf
1 file changed+2
src/Cabal2Nix/PostProcess.hs+2
src/Cabal2Nix/PostProcess.hs+2
@@ -7,6 +7,8 @@ import Data.List
77
88postProcess :: Derivation -> Derivation
99postProcess deriv@(MkDerivation {..})
10+ | pname == "aeson" && version > Version [0,7] []
11+ = deriv { buildDepends = "blazeBuilder":buildDepends }
1012 | pname == "alex" && version < Version [3,1] []
1113 = deriv { buildTools = "perl":buildTools }
1214 | pname == "alex" && version >= Version [3,1] []