summaryrefslogtreecommitdiff
path: root/libraries/bin-package-db
diff options
context:
space:
mode:
authorDavid Terei <davidterei@gmail.com>2011-04-25 12:09:12 -0700
committerDavid Terei <davidterei@gmail.com>2011-06-17 18:19:48 -0700
commit745e073efcb84037d629cd38c18aaaddd4f56e31 (patch)
tree9b472eb0b62ad24da5ae3df94ea4cb429ce4f607 /libraries/bin-package-db
parent530e25a6a1aaccc14630842f310bb4194ce97be0 (diff)
downloadhaskell-745e073efcb84037d629cd38c18aaaddd4f56e31.tar.gz
SafeHaskell: Add trust flag to packages
Diffstat (limited to 'libraries/bin-package-db')
-rw-r--r--libraries/bin-package-db/Distribution/InstalledPackageInfo/Binary.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/bin-package-db/Distribution/InstalledPackageInfo/Binary.hs b/libraries/bin-package-db/Distribution/InstalledPackageInfo/Binary.hs
index 47bb8f4690..15f7e8e957 100644
--- a/libraries/bin-package-db/Distribution/InstalledPackageInfo/Binary.hs
+++ b/libraries/bin-package-db/Distribution/InstalledPackageInfo/Binary.hs
@@ -65,6 +65,7 @@ putInstalledPackageInfo ipi = do
put (exposed ipi)
put (exposedModules ipi)
put (hiddenModules ipi)
+ put (trusted ipi)
put (importDirs ipi)
put (libraryDirs ipi)
put (hsLibraries ipi)
@@ -98,6 +99,7 @@ getInstalledPackageInfo = do
exposed <- get
exposedModules <- get
hiddenModules <- get
+ trusted <- get
importDirs <- get
libraryDirs <- get
hsLibraries <- get