diff options
Diffstat (limited to 'hadrian/src/Hadrian/Haskell')
-rw-r--r-- | hadrian/src/Hadrian/Haskell/Cabal/Parse.hs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hadrian/src/Hadrian/Haskell/Cabal/Parse.hs b/hadrian/src/Hadrian/Haskell/Cabal/Parse.hs index 2ab73b76c0..74ae8fb16a 100644 --- a/hadrian/src/Hadrian/Haskell/Cabal/Parse.hs +++ b/hadrian/src/Hadrian/Haskell/Cabal/Parse.hs @@ -158,9 +158,8 @@ configurePackage context@Context {..} = do pure $ if configureExists then C.autoconfUserHooks else C.simpleUserHooks -- Compute the list of flags, and the Cabal configuration arguments - flavourArgs <- args <$> flavour - flagList <- interpret (target context (Cabal Flags stage) [] []) flavourArgs - argList <- interpret (target context (Cabal Setup stage) [] []) flavourArgs + flagList <- interpret (target context (Cabal Flags stage) [] []) getArgs + argList <- interpret (target context (Cabal Setup stage) [] []) getArgs trackArgsHash (target context (Cabal Flags stage) [] []) trackArgsHash (target context (Cabal Setup stage) [] []) verbosity <- getVerbosity |