Add Trustworthy pragma to bin-package-db
authorDavid Terei <davidterei@gmail.com>
Tue, 2 Aug 2011 22:17:10 +0000 (15:17 -0700)
committerDavid Terei <davidterei@gmail.com>
Mon, 8 Aug 2011 21:10:00 +0000 (14:10 -0700)
libraries/bin-package-db/Distribution/InstalledPackageInfo/Binary.hs

index 15f7e8e..60df644 100644 (file)
@@ -1,3 +1,6 @@
+#if __GLASGOW_HASKELL__ >= 701
+{-# LANGUAGE Trustworthy #-}
+#endif
 {-# LANGUAGE RecordWildCards, TypeSynonymInstances, StandaloneDeriving, GeneralizedNewtypeDeriving #-}
 {-# OPTIONS_GHC -fno-warn-name-shadowing #-}
 -- This module deliberately defines orphan instances for now. Should