mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
diagrams-lib: build on ghc-7.10
This commit is contained in:
parent
ed892e222b
commit
1cbf0b7d27
@ -292,4 +292,10 @@ self: super: {
|
||||
diagrams-core = overrideCabal super.diagrams-core (drv: {
|
||||
prePatch = "sed -i 's|4\.8|4.9|' diagrams-core.cabal";
|
||||
});
|
||||
|
||||
# diagrams/diagrams-core#83
|
||||
diagrams-lib = overrideCabal super.diagrams-lib (drv: {
|
||||
prePatch = "sed -i 's|4\.8|4.9|' diagrams-lib.cabal";
|
||||
patches = [ ./diagrams-lib-flexible-contexts.patch ];
|
||||
});
|
||||
}
|
||||
|
@ -0,0 +1,11 @@
|
||||
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
|
||||
--- diagrams-lib-1.2.0.9-orig/src/Diagrams/TwoD/Polygons.hs 2015-04-02 22:13:26.000000000 -0400
|
||||
+++ diagrams-lib-1.2.0.9/src/Diagrams/TwoD/Polygons.hs 2015-04-11 18:17:28.095156620 -0400
|
||||
@@ -4,6 +4,7 @@
|
||||
{-# LANGUAGE TemplateHaskell #-}
|
||||
{-# LANGUAGE TypeFamilies #-}
|
||||
{-# LANGUAGE ViewPatterns #-}
|
||||
+{-# LANGUAGE FlexibleContexts #-}
|
||||
|
||||
-----------------------------------------------------------------------------
|
||||
-- |
|
Loading…
Reference in New Issue
Block a user