Skip to content

Commit e3dda99

Browse files
committed
Make sure the *Args methods get removed when hoks changes.
Signed-off-by: Edward Z. Yang <[email protected]>
1 parent b48dd6a commit e3dda99

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Cabal/Distribution/Simple/Setup.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ relaxDepsPrinter (Just (RelaxDepsSome pkgs)) = map (Just . display) $ pkgs
348348
-- should be updated.
349349
data ConfigFlags = ConfigFlags {
350350
-- This is the same hack as in 'buildArgs' and 'copyArgs'.
351+
-- TODO: Stop using this eventually when 'UserHooks' gets changed
351352
configArgs :: [String],
352353

353354
--FIXME: the configPrograms is only here to pass info through to configure
@@ -885,6 +886,7 @@ data CopyFlags = CopyFlags {
885886
copyAssumeDepsUpToDate :: Flag Bool,
886887
-- This is the same hack as in 'buildArgs'. But I (ezyang) don't
887888
-- think it's a hack, it's the right way to make hooks more robust
889+
-- TODO: Stop using this eventually when 'UserHooks' gets changed
888890
copyArgs :: [String]
889891
}
890892
deriving (Show, Generic)

0 commit comments

Comments
 (0)