Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
a078b55e
Commit
a078b55e
authored
Nov 02, 2016
by
Mikhail Glushenkov
Browse files
Removed unneeded LANGUAGE pragma.
parent
e815863f
Changes
1
Hide whitespace changes
Inline
Side-by-side
cabal-install/Distribution/Client/CmdBuild.hs
View file @
a078b55e
{-# LANGUAGE NamedFieldPuns #-}
-- | cabal-install CLI command: build
--
module
Distribution.Client.CmdBuild
(
...
...
@@ -72,7 +70,7 @@ buildAction (configFlags, configExFlags, installFlags, haddockFlags)
PreBuildHooks
{
hookPrePlanning
=
\
_
_
_
->
return
()
,
hookSelectPlanSubset
=
\
buildSettings
elaboratedPlan
->
do
hookSelectPlanSubset
=
\
buildSettings
'
elaboratedPlan
->
do
-- Interpret the targets on the command line as build targets
-- (as opposed to say repl or haddock targets).
selectTargets
...
...
@@ -80,7 +78,7 @@ buildAction (configFlags, configExFlags, installFlags, haddockFlags)
BuildDefaultComponents
BuildSpecificComponent
userTargets
(
buildSettingOnlyDeps
buildSettings
)
(
buildSettingOnlyDeps
buildSettings
'
)
elaboratedPlan
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment