[commit: ghc] wip/nfs-locking: Rename src/Expression.hs -> src/Expression/Base.hs. (35cab30)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:09:46 UTC 2017


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

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/35cab3032cf80af4274dfd6563a821bcc34e4618/ghc

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

commit 35cab3032cf80af4274dfd6563a821bcc34e4618
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Wed Apr 8 23:04:19 2015 +0100

    Rename src/Expression.hs -> src/Expression/Base.hs.


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

35cab3032cf80af4274dfd6563a821bcc34e4618
 src/{Expression.hs => Expression/Base.hs} | 0
 src/Settings.hs                           | 5 ++++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/Expression.hs b/src/Expression/Base.hs
similarity index 100%
rename from src/Expression.hs
rename to src/Expression/Base.hs
diff --git a/src/Settings.hs b/src/Settings.hs
index 2885282..e70e41c 100644
--- a/src/Settings.hs
+++ b/src/Settings.hs
@@ -22,8 +22,11 @@ integerLibraryName = case integerLibrary of
 buildHaddock :: Bool
 buildHaddock = True
 
+supportsPackageKey :: Guard
+supportsPackageKey = keyYes "supports-package-key"
+
 whenPackageKey :: Guard
-whenPackageKey = keyYes "supports-package-key" <> notStage Stage0
+whenPackageKey = supportsPackageKey <> notStage Stage0
 
 depSettings :: Settings
 depSettings =



More information about the ghc-commits mailing list