Skip to content
  • Duncan Coutts's avatar
    Replace lots of configBlahDir fields with just one InstallDirs · f9a8db92
    Duncan Coutts authored
    So instead of 10 fields like this:
    configPrefix   :: Maybe FilePath,
    ...
    we have just one compound one:
    configInstallDirs   :: InstallDirs (Maybe FilePath)
    Now that LocalBuildInfo and cabal-install's config use InstallDirs it makes
    converting a lot easier since we can use fmap and combineInstallDirs.
    This should also be easier to maintain as it has significantly reduced the
    number of places in the code you have to change when you add/change a dir.
    f9a8db92