diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2018-11-18 15:14:27 +0100 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2019-01-22 03:06:51 +0100 |
commit | a65efc2566dd4aa60380da8c03b878131095eea3 (patch) | |
tree | 7cf3f835cd626957aff73ab1157494efc420825b /src/CabalHelper | |
parent | 1d9d69b076e101ee67842b4e82423e8d57559544 (diff) |
Include package.yaml in Unit modification times for Stack projects
Diffstat (limited to 'src/CabalHelper')
-rw-r--r-- | src/CabalHelper/Compiletime/Types.hs | 3 |
1 files changed, 2 insertions, 1 deletions
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) |