[commit: packages/Cabal] ghc-head: 80-col violation. (382076d)
git at git.haskell.org
git at git.haskell.org
Mon Aug 26 23:30:31 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=382076d9f22e110c79eba0182550defa6f04acf5
>---------------------------------------------------------------
commit 382076d9f22e110c79eba0182550defa6f04acf5
Author: Mikhail Glushenkov <mikhail.glushenkov at gmail.com>
Date: Fri Aug 23 07:08:26 2013 +0200
80-col violation.
>---------------------------------------------------------------
382076d9f22e110c79eba0182550defa6f04acf5
Cabal/Distribution/Simple/InstallDirs.hs | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Cabal/Distribution/Simple/InstallDirs.hs b/Cabal/Distribution/Simple/InstallDirs.hs
index 9bcc59f..b458b63 100644
--- a/Cabal/Distribution/Simple/InstallDirs.hs
+++ b/Cabal/Distribution/Simple/InstallDirs.hs
@@ -386,7 +386,8 @@ data PathTemplateVariable =
| ArchVar -- ^ The cpu architecture name, eg @i386@ or @x86_64@
| ExecutableNameVar -- ^ The executable name; used in shell wrappers
| TestSuiteNameVar -- ^ The name of the test suite being run
- | TestSuiteResultVar -- ^ The result of the test suite being run, eg @pass@, @fail@, or @error at .
+ | TestSuiteResultVar -- ^ The result of the test suite being run, eg
+ -- @pass@, @fail@, or @error at .
| BenchmarkNameVar -- ^ The name of the benchmark being run
deriving Eq
@@ -417,7 +418,8 @@ substPathTemplate environment (PathTemplate template) =
Nothing -> [component]
-- | The initial environment has all the static stuff but no paths
-initialPathTemplateEnv :: PackageIdentifier -> CompilerId -> Platform -> PathTemplateEnv
+initialPathTemplateEnv :: PackageIdentifier -> CompilerId -> Platform
+ -> PathTemplateEnv
initialPathTemplateEnv pkgId compilerId platform =
packageTemplateEnv pkgId
++ compilerTemplateEnv compilerId
More information about the ghc-commits
mailing list