Fix build on Windows
[ghc-hetmet.git] / utils / ghc-cabal / ghc-cabal.hs
index e97850d..f5fd6d8 100644 (file)
@@ -26,7 +26,6 @@ import System.Directory
 import System.Environment
 import System.Exit
 import System.FilePath
-import Data.Char
 
 main :: IO ()
 main = do args <- getArgs
@@ -155,7 +154,7 @@ doInstall ghc ghcpkg topdir directory distDir myDestDir myPrefix myLibdir myDocd
                               programArgs = ["-B" ++ topdir],
                               programLocation = UserSpecified ghc
                           }
-                ghcpkgconf = topdir </> "package.conf"
+                ghcpkgconf = topdir </> "package.conf.d"
                 ghcPkgProg = ConfiguredProgram {
                                  programId = programName ghcPkgProgram,
                                  programVersion = Nothing,