From a65efc2566dd4aa60380da8c03b878131095eea3 Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Sun, 18 Nov 2018 15:14:27 +0100 Subject: Include package.yaml in Unit modification times for Stack projects --- src/CabalHelper/Compiletime/Types.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/CabalHelper/Compiletime/Types.hs b/src/CabalHelper/Compiletime/Types.hs index e432c6d..645ee7c 100644 --- a/src/CabalHelper/Compiletime/Types.hs +++ b/src/CabalHelper/Compiletime/Types.hs @@ -235,7 +235,8 @@ data ProjInfoImpl pt where } -> ProjInfoImpl 'Stack data UnitModTimes = UnitModTimes - { umtCabalFile :: !(FilePath, EpochTime) + { umtPkgYaml :: !(Maybe (FilePath, EpochTime)) + , umtCabalFile :: !(FilePath, EpochTime) , umtSetupConfig :: !(Maybe (FilePath, EpochTime)) } deriving (Eq, Ord, Read, Show) -- cgit v1.2.3