fold Build/SysConfig.hs into BuildInfo via include
This avoids warnings from stack about the module not being listed in the cabal file. So, the generated file is also renamed to Build/SysConfig. Note that the setup program seems to be cached despite these changes; I had to cabal clean to get cabal to update it so that Build/SysConfig was written. This commit was sponsored by Jochen Bartl on Patreon.
This commit is contained in:
parent
ad6683e722
commit
308cd1383c
24 changed files with 64 additions and 63 deletions
|
@ -21,7 +21,7 @@ import Assistant.Alert
|
|||
import Assistant.DaemonStatus
|
||||
#ifdef WITH_WEBAPP
|
||||
import Assistant.WebApp.Types
|
||||
import qualified Build.SysConfig
|
||||
import qualified BuildInfo
|
||||
#endif
|
||||
|
||||
import Control.Concurrent.MVar
|
||||
|
@ -103,7 +103,7 @@ showSuccessfulUpgrade urlrenderer = do
|
|||
(T.pack "Enable Automatic Upgrades")
|
||||
urlrenderer ConfigEnableAutomaticUpgradeR
|
||||
)
|
||||
void $ addAlert $ upgradeFinishedAlert button Build.SysConfig.packageversion
|
||||
void $ addAlert $ upgradeFinishedAlert button BuildInfo.packageversion
|
||||
#else
|
||||
noop
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue