Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
Packages
Cabal
Commits
96a36e64
Commit
96a36e64
authored
18 years ago
by
Isaac Potoczny-Jones
Browse files
Options
Downloads
Patches
Plain Diff
haddock comments for GHC and GHCPackageConig
parent
5b03a323
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Distribution/Simple/GHC.hs
+3
-0
3 additions, 0 deletions
Distribution/Simple/GHC.hs
Distribution/Simple/GHCPackageConfig.hs
+3
-2
3 additions, 2 deletions
Distribution/Simple/GHCPackageConfig.hs
with
6 additions
and
2 deletions
Distribution/Simple/GHC.hs
+
3
−
0
View file @
96a36e64
...
...
@@ -8,6 +8,9 @@
-- Stability : alpha
-- Portability : portable
--
-- Build and Install implementations for GHC. See
-- 'Distribution.Simple.GHCPackageConfig.GHCPackageConfig' for
-- registration-related stuff.
{- Copyright (c) 2003-2005, Isaac Jones
All rights reserved.
...
...
This diff is collapsed.
Click to expand it.
Distribution/Simple/GHCPackageConfig.hs
+
3
−
2
View file @
96a36e64
...
...
@@ -9,7 +9,8 @@
-- Portability : portable
--
-- Explanation: Performs registration for GHC. Specific to
-- ghc-pkg. Creates a GHC package config file.
-- ghc-pkg. Creates a GHC package config file. See also
-- 'Distribution.Simple.GHC.build', etc.
module
Distribution.Simple.GHCPackageConfig
(
GHCPackageConfig
(
..
),
...
...
@@ -37,7 +38,7 @@ import System.Directory (doesFileExist, getPermissions, Permissions (..))
import
Distribution.Compat.FilePath
(
joinFileName
)
import
Distribution.Compat.Directory
(
getHomeDirectory
)
-- |Where ghc keeps the --user files.
-- |Where ghc
versions < 6.3
keeps the --user files.
-- |return the file, whether it exists, and whether it's readable
localPackageConfig
::
IO
FilePath
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment