Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore Safe Haskell support with base < 4.8 #31

Merged
merged 1 commit into from Aug 15, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions System/Directory.hs
@@ -1,5 +1,10 @@
{-# LANGUAGE CPP, NondecreasingIndentation #-}

#if !(MIN_VERSION_base(4,8,0))
-- In base-4.8.0 the Foreign module became Safe
{-# LANGUAGE Trustworthy #-}
#endif

-----------------------------------------------------------------------------
-- |
-- Module : System.Directory
Expand Down
5 changes: 5 additions & 0 deletions changelog.md
@@ -1,6 +1,11 @@
Changelog for the [`directory`][1] package
==========================================

## 1.2.3.1

* Restore support for Safe Haskell with base < 4.8
([#30](https://github.com/haskell/directory/issues/30))

## 1.2.3.0 (July 2015)

* Add support for XDG Base Directory Specification
Expand Down
2 changes: 1 addition & 1 deletion directory.cabal
@@ -1,5 +1,5 @@
name: directory
version: 1.2.3.0
version: 1.2.3.1
-- NOTE: Don't forget to update ./changelog.md
license: BSD3
license-file: LICENSE
Expand Down