aboutsummaryrefslogtreecommitdiff
path: root/src/CabalHelper/Compiletime/Types.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/CabalHelper/Compiletime/Types.hs')
-rw-r--r--src/CabalHelper/Compiletime/Types.hs3
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.