lol

diagrams-lib: build on ghc-7.10

Shea Levy 1cbf0b7d ed892e22

+17
+6
pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
··· 292 292 diagrams-core = overrideCabal super.diagrams-core (drv: { 293 293 prePatch = "sed -i 's|4\.8|4.9|' diagrams-core.cabal"; 294 294 }); 295 + 296 + # diagrams/diagrams-core#83 297 + diagrams-lib = overrideCabal super.diagrams-lib (drv: { 298 + prePatch = "sed -i 's|4\.8|4.9|' diagrams-lib.cabal"; 299 + patches = [ ./diagrams-lib-flexible-contexts.patch ]; 300 + }); 295 301 }
+11
pkgs/development/haskell-modules/diagrams-lib-flexible-contexts.patch
··· 1 + diff -Naur diagrams-lib-1.2.0.9-orig/src/Diagrams/TwoD/Polygons.hs diagrams-lib-1.2.0.9/src/Diagrams/TwoD/Polygons.hs 2 + --- diagrams-lib-1.2.0.9-orig/src/Diagrams/TwoD/Polygons.hs 2015-04-02 22:13:26.000000000 -0400 3 + +++ diagrams-lib-1.2.0.9/src/Diagrams/TwoD/Polygons.hs 2015-04-11 18:17:28.095156620 -0400 4 + @@ -4,6 +4,7 @@ 5 + {-# LANGUAGE TemplateHaskell #-} 6 + {-# LANGUAGE TypeFamilies #-} 7 + {-# LANGUAGE ViewPatterns #-} 8 + +{-# LANGUAGE FlexibleContexts #-} 9 + 10 + ----------------------------------------------------------------------------- 11 + -- |