Rename src/Expression.hs -> src/Expression/Base.hs.
authorAndrey Mokhov <andrey.mokhov@gmail.com>
Wed, 8 Apr 2015 22:04:19 +0000 (23:04 +0100)
committerAndrey Mokhov <andrey.mokhov@gmail.com>
Wed, 8 Apr 2015 22:04:19 +0000 (23:04 +0100)
src/Expression/Base.hs [moved from src/Expression.hs with 100% similarity]
src/Settings.hs

similarity index 100%
rename from src/Expression.hs
rename to src/Expression/Base.hs
index 2885282..e70e41c 100644 (file)
@@ -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 =