From e91d57a4655d69b306190506c488450f42391fb3 Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Sun, 21 Oct 2018 16:27:22 +0200 Subject: Add package-id unit-query --- src/CabalHelper/Compiletime/Types.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/CabalHelper/Compiletime/Types.hs') 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. -- cgit v1.2.3