Fix installation (we need to use the right ghc-pkg)
authorIan Lynagh <igloo@earth.li>
Sun, 12 Aug 2007 12:48:11 +0000 (12:48 +0000)
committerIan Lynagh <igloo@earth.li>
Sun, 12 Aug 2007 12:48:11 +0000 (12:48 +0000)
libraries/installPackage.hs

index 466da21..866b0e8 100644 (file)
@@ -31,7 +31,10 @@ doit pref ghcpkg verbosity =
                           }
               registerFlags = emptyRegisterFlags {
                                   regUser = MaybeUserGlobal,
-                                  regVerbose = verbosity
+                                  regVerbose = verbosity,
+                                  regGenScript = False,
+                                  regInPlace = False,
+                                  regWithHcPkg = Just ghcpkg
                               }
           lbi <- getPersistBuildConfig
           let pd = localPkgDescr lbi