diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2018-10-21 16:27:22 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2018-10-27 20:48:56 +0200 |
commit | e91d57a4655d69b306190506c488450f42391fb3 (patch) | |
tree | 85cccb972f8786b0c7658c55c39ae6b5c611c879 /src/CabalHelper/Compiletime | |
parent | e7ee5a69970a6641ea650557611a8fb502d85dc5 (diff) |
Add package-id unit-query
Diffstat (limited to 'src/CabalHelper/Compiletime')
-rw-r--r-- | src/CabalHelper/Compiletime/Types.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CabalHelper/Compiletime/Types.hs b/src/CabalHelper/Compiletime/Types.hs index 58e90b1..e803ae6 100644 --- a/src/CabalHelper/Compiletime/Types.hs +++ b/src/CabalHelper/Compiletime/Types.hs @@ -146,6 +146,9 @@ data UnitInfo = UnitInfo { uiUnitId :: !UnitId -- ^ A unique identifier of this init within the project. + , uiPackageId :: !(String, Version) + -- ^ The package-name and version this unit belongs to. + , uiComponents :: !(Map ChComponentName ChComponentInfo) -- ^ The components of the unit: libraries, executables, test-suites, -- benchmarks and so on. |