about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/haskell-modules/patches/graphviz-fix-ghc710.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/haskell-modules/patches/graphviz-fix-ghc710.patch')
-rw-r--r--nixpkgs/pkgs/development/haskell-modules/patches/graphviz-fix-ghc710.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/haskell-modules/patches/graphviz-fix-ghc710.patch b/nixpkgs/pkgs/development/haskell-modules/patches/graphviz-fix-ghc710.patch
new file mode 100644
index 000000000000..e72bb793da73
--- /dev/null
+++ b/nixpkgs/pkgs/development/haskell-modules/patches/graphviz-fix-ghc710.patch
@@ -0,0 +1,11 @@
+diff -ru3 graphviz.old/Data/GraphViz/Algorithms.hs graphviz/Data/GraphViz/Algorithms.hs
+--- graphviz.old/Data/GraphViz/Algorithms.hs	2015-05-18 15:21:38.379771357 +0300
++++ graphviz/Data/GraphViz/Algorithms.hs	2015-05-18 15:01:01.940122684 +0300
+@@ -38,6 +38,7 @@
+ import Data.GraphViz.Types.Canonical
+ import Data.GraphViz.Types.Internal.Common
+ 
++import           Prelude                   hiding (traverse)
+ import           Control.Arrow             (first, second, (***))
+ import           Control.Monad             (unless)
+ import           Control.Monad.Trans.State