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
Haskell
Cabal
Commits
86cd73d0
Commit
86cd73d0
authored
20 years ago
by
Henning Günther
Browse files
Options
Downloads
Patches
Plain Diff
Fixing install bug(GHCi lib overwrites .a archive)
parent
c4d08be8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Distribution/Simple/Install.hs
+2
-1
2 additions, 1 deletion
Distribution/Simple/Install.hs
with
2 additions
and
1 deletion
Distribution/Simple/Install.hs
+
2
−
1
View file @
86cd73d0
...
...
@@ -126,9 +126,10 @@ installLibGHC verbose hasProf hasGHCi pref buildPref pd@PackageDescription{libra
ifProf
$
smartCopySources
verbose
[
buildPref
]
pref
(
libModules
pd
)
[
"p_hi"
]
True
let
libTargetLoc
=
mkLibName
pref
(
showPackageId
p
)
profLibTargetLoc
=
mkProfLibName
pref
(
showPackageId
p
)
libGHCiTargetLoc
=
mkGHCiLibName
pref
(
showPackageId
p
)
copyFileVerbose
verbose
(
mkLibName
buildPref
(
showPackageId
p
))
libTargetLoc
ifProf
$
copyFileVerbose
verbose
(
mkProfLibName
buildPref
(
showPackageId
p
))
profLibTargetLoc
ifGHCi
$
copyFileVerbose
verbose
(
mkGHCiLibName
buildPref
(
showPackageId
p
))
libTargetLoc
ifGHCi
$
copyFileVerbose
verbose
(
mkGHCiLibName
buildPref
(
showPackageId
p
))
lib
GHCi
TargetLoc
-- use ranlib or ar -s to build an index. this is necessary
-- on some systems like MacOS X. If we can't find those,
...
...
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