[commit: packages/process] master, wip/issue15: Update `.cabal` and `changelog` re `SafeHaskell` (7139346)

git at git.haskell.org git at git.haskell.org
Thu Mar 19 11:37:11 UTC 2015


Repository : ssh://git@git.haskell.org/process

On branches: master,wip/issue15
Link       : http://ghc.haskell.org/trac/ghc/changeset/71393467c6ee004d3ccdde27df80c90b63926531/process

>---------------------------------------------------------------

commit 71393467c6ee004d3ccdde27df80c90b63926531
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Tue Nov 25 10:30:50 2014 +0100

    Update `.cabal` and `changelog` re `SafeHaskell`


>---------------------------------------------------------------

71393467c6ee004d3ccdde27df80c90b63926531
 changelog.md  | 3 +++
 process.cabal | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/changelog.md b/changelog.md
index 86b04df..3f5647e 100644
--- a/changelog.md
+++ b/changelog.md
@@ -6,6 +6,9 @@
 
   * Expose documentation for `System.Process.Internals`
 
+  * With GHC 7.10, `System.Cmd` and `System.Process` are now `Safe`
+    (when compiled with older GHC versions they are just `Trustworthy`)
+
 ## 1.2.0.0  *Dec 2013*
 
   * Update to Cabal 1.10 format
diff --git a/process.cabal b/process.cabal
index f42d3c4..729faa9 100644
--- a/process.cabal
+++ b/process.cabal
@@ -38,6 +38,8 @@ library
         InterruptibleFFI
         RecordWildCards
         Trustworthy
+    if impl(ghc>=7.9)
+        other-extensions: Safe
 
     exposed-modules:
         System.Cmd



More information about the ghc-commits mailing list