diff --git a/ghc/driver/ghc.lprl b/ghc/driver/ghc.lprl
index 8f90ebadc3d3a77c254811dbcf26c56a5f7eba2a..536efe7c894cc5c09379cf03ac70810959b6d5d9 100644
--- a/ghc/driver/ghc.lprl
+++ b/ghc/driver/ghc.lprl
@@ -2621,7 +2621,7 @@ sub add_syslib {
 	[  # where to slurp interface files from
 	  ( $INSTALLING 
 	       ? "$InstLibDirGhc/imports/text"
-	       : "$TopPwd/hslibs/text:$TopPwd/hslibs/text/html:$TopPwd/hslibs/text/haxml/lib"
+	       : "$TopPwd/hslibs/text:$TopPwd/hslibs/text/html:$TopPwd/hslibs/text/haxml/lib:$TopPwd/hslibs/text/parsec"
 	  )
 	, # where to find the archive to use when linking
 	  ( $INSTALLING 
diff --git a/ghc/utils/mkdependHS/mkdependHS.prl b/ghc/utils/mkdependHS/mkdependHS.prl
index 02e2a10dff4a8929c8b6df1198acb9cf525f0e34..91a7714d06c24cb285df89ebf76d3bbf22d9adee 100644
--- a/ghc/utils/mkdependHS/mkdependHS.prl
+++ b/ghc/utils/mkdependHS/mkdependHS.prl
@@ -330,6 +330,7 @@ sub gather_import_dirs {
            if ( $lib eq 'text' && ! $INSTALLING ) {
               push(@Import_dirs, "${TopPwd}/hslibs/${lib}/html");
               push(@Import_dirs, "${TopPwd}/hslibs/${lib}/haxml/lib");
+              push(@Import_dirs, "${TopPwd}/hslibs/${lib}/parsec");
 	   }
            if ( $lib eq 'data' && ! $INSTALLING ) {
               push(@Import_dirs, "${TopPwd}/hslibs/${lib}/edison");