Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
03abd929
Commit
03abd929
authored
Jul 06, 2018
by
Alexis Williams
Browse files
Fix typo 2: fix harder
parent
c951b27a
Changes
1
Hide whitespace changes
Inline
Side-by-side
cabal-install/Distribution/Client/CmdInstall.hs
View file @
03abd929
...
...
@@ -79,7 +79,8 @@ import Distribution.Simple.Compiler
import
Distribution.Simple.GHC
(
ghcPlatformAndVersionString
,
GhcImplInfo
(
..
),
getImplInfo
,
GhcEnvironmentFileEntry
(
..
),
renderGhcEnvironmentFile
,
readEnvironmentFile
)
,
GhcEnvironmentFileEntry
(
..
)
,
renderGhcEnvironmentFile
,
readGhcEnvironmentFile
)
import
Distribution.Types.UnitId
(
UnitId
)
import
Distribution.Types.UnqualComponentName
...
...
@@ -324,7 +325,7 @@ installAction (configFlags, configExFlags, installFlags, haddockFlags)
envEntries
<-
if
|
compilerFlavor
==
GHC
||
compilerFlavor
==
GHCJS
,
supportsPkgEnvFiles
,
envFileExists
->
readEnvironmentFile
envFile
,
envFileExists
->
read
Ghc
EnvironmentFile
envFile
|
otherwise
->
return
[]
cabalDir
<-
getCabalDir
...
...
Write
Preview
Markdown
is supported
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