Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rename 'D.C.PkgEnv' to 'D.C.PackageEnvironment'

  • Loading branch information...
commit ed9a37f5f8d1c656c8918c63460210e8369586c1 1 parent 8a88111
Mikhail Glushenkov 23Skidoo authored
8 cabal-install/Distribution/Client/PkgEnv.hs → ...install/Distribution/Client/PackageEnvironment.hs
View
@@ -1,6 +1,6 @@
-----------------------------------------------------------------------------
-- |
--- Module : Distribution.Client.PkgEnv
+-- Module : Distribution.Client.PackageEnvironment
-- Maintainer : cabal-devel@haskell.org
-- Portability : portable
--
@@ -8,7 +8,7 @@
-- Distribution.Client.Config.
-----------------------------------------------------------------------------
-module Distribution.Client.PkgEnv (
+module Distribution.Client.PackageEnvironment (
PkgEnv(..),
loadPkgEnv,
dumpPkgEnv
@@ -77,14 +77,14 @@ basePackageEnvironment = do
-- it does not exist. When the package environment gets loaded it gets layered
-- on top of 'basePackageEnvironment'.
initialPackageEnvironment :: FilePath -> IO PkgEnv
-initialPackageEnvironment _ = do
+initialPackageEnvironment pkgEnvDir = do
initialConf <- initialSavedConfig
return $ mempty { pkgEnvSavedConfig = initialConf }
-- | Default values that get used if no value is given. Used here to include in
-- comments when we write out the initial package environment.
commentPackageEnvironment :: FilePath -> IO PkgEnv
-commentPackageEnvironment _ = do
+commentPackageEnvironment pkgEnvDir = do
commentConf <- commentSavedConfig
return $ mempty { pkgEnvSavedConfig = commentConf }
Please sign in to comment.
Something went wrong with that request. Please try again.