[commit: packages/Cabal] ghc-head: Fix the cabal repl --ghc-option(s) flags (749927f)

git at git.haskell.org git at git.haskell.org
Mon Aug 26 23:29:46 CEST 2013


Repository : ssh://git@git.haskell.org/Cabal

On branch  : ghc-head
Link       : http://git.haskell.org/?p=packages/Cabal.git;a=commit;h=749927f89320af9b320ac8b1831129a84db655e1

>---------------------------------------------------------------

commit 749927f89320af9b320ac8b1831129a84db655e1
Author: Duncan Coutts <duncan at community.haskell.org>
Date:   Mon Aug 12 17:36:37 2013 +0100

    Fix the cabal repl --ghc-option(s) flags


>---------------------------------------------------------------

749927f89320af9b320ac8b1831129a84db655e1
 Cabal/Distribution/Simple/Setup.hs |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/Cabal/Distribution/Simple/Setup.hs b/Cabal/Distribution/Simple/Setup.hs
index e65a04c..9f67b7a 100644
--- a/Cabal/Distribution/Simple/Setup.hs
+++ b/Cabal/Distribution/Simple/Setup.hs
@@ -1463,6 +1463,9 @@ replCommand progConf = CommandUI {
       : programConfigurationPaths   progConf showOrParseArgs
           replProgramPaths (\v flags -> flags { replProgramPaths = v})
 
+     ++ programConfigurationOption progConf showOrParseArgs
+          replProgramArgs (\v flags -> flags { replProgramArgs = v})
+
      ++ programConfigurationOptions progConf showOrParseArgs
           replProgramArgs (\v flags -> flags { replProgramArgs = v})
 





More information about the ghc-commits mailing list