git.iko.soy/typeable/cabal2nix
on master help sign in
base-4.11/GHC 8.4 compat: SMP conflict between 'base' and 'pretty'
commite1fc93047c0af230e0c8c6e02383c7533858baa3 authorKosyrev Serge <serge.kosyrev@iohk.io> dateSat 10 Mar 2018, 01:26 (9 years ago) parentae0d2f7
1 file changed+5
src/Distribution/Nixpkgs/Haskell/Derivation.hs+5
src/Distribution/Nixpkgs/Haskell/Derivation.hs+5
@@ -1,3 +1,4 @@
1+{-# LANGUAGE CPP #-}
12{-# LANGUAGE DeriveGeneric #-}
23{-# LANGUAGE RecordWildCards #-}
34{-# LANGUAGE TemplateHaskell #-}
@@ -28,6 +29,10 @@ import GHC.Generics ( Generic )
2829import Language.Nix
2930import Language.Nix.PrettyPrinting
3031
32+#if MIN_VERSION_base(4,11,0)
33+import Prelude hiding ((<>))
34+#endif
35+
3136-- | A represtation of Nix expressions for building Haskell packages.
3237-- The data type correspond closely to the definition of
3338-- 'PackageDescription' from Cabal.