[commit: ghc] wip/nfs-locking: Add HiddenModules key to PackageData.hs. (3d65807)
git at git.haskell.org
git at git.haskell.org
Thu Oct 26 23:18:03 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/nfs-locking
Link : http://ghc.haskell.org/trac/ghc/changeset/3d6580728cc485bb8e16d4ee27ed04a8ec8c743e/ghc
>---------------------------------------------------------------
commit 3d6580728cc485bb8e16d4ee27ed04a8ec8c743e
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date: Wed Aug 19 02:36:33 2015 +0100
Add HiddenModules key to PackageData.hs.
>---------------------------------------------------------------
3d6580728cc485bb8e16d4ee27ed04a8ec8c743e
src/Oracles/PackageData.hs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/Oracles/PackageData.hs b/src/Oracles/PackageData.hs
index de9db7c..4097ac1 100644
--- a/src/Oracles/PackageData.hs
+++ b/src/Oracles/PackageData.hs
@@ -26,6 +26,7 @@ data PackageData = Version FilePath
| BuildGhciLib FilePath
data PackageDataList = Modules FilePath
+ | HiddenModules FilePath
| SrcDirs FilePath
| IncludeDirs FilePath
| Deps FilePath
@@ -66,6 +67,7 @@ pkgDataList :: PackageDataList -> Action [String]
pkgDataList packageData = do
let (key, path, defaultValue) = case packageData of
Modules path -> ("MODULES" , path, "" )
+ HiddenModules path -> ("HIDDEN_MODULES" , path, "" )
SrcDirs path -> ("HS_SRC_DIRS" , path, ".")
IncludeDirs path -> ("INCLUDE_DIRS" , path, ".")
Deps path -> ("DEPS" , path, "" )
More information about the ghc-commits
mailing list