doit :: FilePath -> FilePath -> Verbosity -> IO ()
doit pref ghcpkg verbosity =
do let userHooks = simpleUserHooks
- copyFlags = CopyFlags {
- copyDest = NoCopyDest,
+ copyFlags = (emptyCopyFlags NoCopyDest) {
copyVerbose = verbosity
}
- registerFlags = RegisterFlags {
+ registerFlags = emptyRegisterFlags {
regUser = MaybeUserGlobal,
- regGenScript = False,
- regInPlace = False,
- regWithHcPkg = Just ghcpkg,
regVerbose = verbosity
}
lbi <- getPersistBuildConfig