Skip to content

Commit

Permalink
Merge pull request #5142 from alexbiehl/pr/legacy-conf-all-packages
Browse files Browse the repository at this point in the history
Apply global config to all packages
  • Loading branch information
23Skidoo authored Feb 14, 2018
2 parents c59706a + 87afdb0 commit 669fe7a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cabal-install/Distribution/Client/ProjectConfig/Legacy.hs
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ convertLegacyGlobalConfig
savedHaddockFlags = haddockFlags
} =
mempty {
projectConfigShared = configAllPackages,
projectConfigLocalPackages = configLocalPackages,
projectConfigBuildOnly = configBuildOnly
projectConfigBuildOnly = configBuildOnly,
projectConfigShared = configShared,
projectConfigAllPackages = configAllPackages
}
where
--TODO: [code cleanup] eliminate use of default*Flags here and specify the
Expand All @@ -228,9 +228,9 @@ convertLegacyGlobalConfig
installFlags' = defaultInstallFlags <> installFlags
haddockFlags' = defaultHaddockFlags <> haddockFlags

configLocalPackages = convertLegacyPerPackageFlags
configAllPackages = convertLegacyPerPackageFlags
configFlags installFlags' haddockFlags'
configAllPackages = convertLegacyAllPackageFlags
configShared = convertLegacyAllPackageFlags
globalFlags configFlags
configExFlags' installFlags'
configBuildOnly = convertLegacyBuildOnlyFlags
Expand Down

0 comments on commit 669fe7a

Please sign in to comment.