Skip to content

Commit

Permalink
Make sure the *Args methods get removed when hoks changes.
Browse files Browse the repository at this point in the history
Signed-off-by: Edward Z. Yang <[email protected]>
  • Loading branch information
ezyang committed Aug 12, 2016
1 parent b48dd6a commit e3dda99
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cabal/Distribution/Simple/Setup.hs
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ relaxDepsPrinter (Just (RelaxDepsSome pkgs)) = map (Just . display) $ pkgs
-- should be updated.
data ConfigFlags = ConfigFlags {
-- This is the same hack as in 'buildArgs' and 'copyArgs'.
-- TODO: Stop using this eventually when 'UserHooks' gets changed
configArgs :: [String],

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

0 comments on commit e3dda99

Please sign in to comment.