Commit 0440d8af authored by ian@well-typed.com's avatar ian@well-typed.com
Browse files

Follow changes in Cabal

parent 9a3c8bd7
......@@ -20,6 +20,7 @@ import qualified Distribution.InstalledPackageInfo as Installed
import qualified Distribution.Simple.PackageIndex as PackageIndex
import Control.Monad
import qualified Data.ByteString.Lazy.Char8 as BS
import Data.List
import Data.Maybe
import System.IO
......@@ -284,7 +285,7 @@ generate config_args distdir directory
Installed.haddockHTMLs = []
}
content = Installed.showInstalledPackageInfo final_ipi ++ "\n"
writeFileAtomic (distdir </> "inplace-pkg-config") (toUTF8 content)
writeFileAtomic (distdir </> "inplace-pkg-config") (BS.pack $ toUTF8 content)
_ -> error "Inconsistent lib components; can't happen?"
let
......
......@@ -16,6 +16,7 @@ Executable ghc-cabal
Main-Is: ghc-cabal.hs
Build-Depends: base >= 3 && < 5,
bytestring >= 0.10 && < 0.11,
Cabal >= 1.10 && < 1.18,
directory >= 1.1 && < 1.2,
filepath >= 1.2 && < 1.4
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment