From 836327b02f9156fd1c3c7b7d55493a14eb91f914 Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Fri, 27 Sep 2024 16:30:48 -0700 Subject: [PATCH] haddock-project: add CommonSetupFlags --- cabal-install/src/Distribution/Client/ProjectConfig/Legacy.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cabal-install/src/Distribution/Client/ProjectConfig/Legacy.hs b/cabal-install/src/Distribution/Client/ProjectConfig/Legacy.hs index ab3af5ee2fd..0b0c99a400e 100644 --- a/cabal-install/src/Distribution/Client/ProjectConfig/Legacy.hs +++ b/cabal-install/src/Distribution/Client/ProjectConfig/Legacy.hs @@ -1408,7 +1408,8 @@ legacySharedConfigFieldDescrs constraintSrc = configPackageDBs (\v conf -> conf{configPackageDBs = v}) ] - . filterFields (["verbose", "builddir"] ++ map optionName installDirsOptions) + . aliasField "keep-temp-files" "haddock-keep-temp-files" + . filterFields (["verbose", "builddir", "keep-temp-files"] ++ map optionName installDirsOptions) . commandOptionsToFields $ configureOptions ParseArgs , liftFields