Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
11583c5b
Commit
11583c5b
authored
Nov 22, 2008
by
David Himmelstrup
Browse files
LHC: Don't use --no-user-package-conf. It doesn't work with ghc-6.8.
parent
2f0fd6af
Changes
2
Hide whitespace changes
Inline
Side-by-side
Distribution/Simple/LHC.hs
View file @
11583c5b
...
...
@@ -131,7 +131,7 @@ getInstalledPackages :: Verbosity -> PackageDB -> ProgramConfiguration
->
IO
(
PackageIndex
InstalledPackageInfo
)
getInstalledPackages
verbosity
packagedb
conf
=
do
(
globalDir
,
userDir
)
<-
getLhcLibDirs
verbosity
conf
let
extraArgs
=
[
"--no-user-package-conf"
,
"--global-conf="
++
globalDir
</>
"package.conf"
let
extraArgs
=
[
"--global-conf="
++
globalDir
</>
"package.conf"
,
"--package-conf="
++
case
packagedb
of
SpecificPackageDB
path
->
path
_
->
userDir
</>
"package.conf"
]
...
...
Distribution/Simple/Register.hs
View file @
11583c5b
...
...
@@ -177,7 +177,7 @@ register pkg_descr lbi regFlags
(
libdir
installDirs
</>
"package.conf"
)
LHC
->
do
(
globalDir
,
userDir
)
<-
LHC
.
getLhcLibDirsFromVersion
(
Just
(
compilerVersion
(
compiler
lbi
)))
let
config_flags
=
[
"--force"
,
"--no-user-package-conf"
,
"--global-conf="
++
globalDir
</>
"package.conf"
let
config_flags
=
[
"--force"
,
"--global-conf="
++
globalDir
</>
"package.conf"
,
"--package-conf="
++
case
packageDB
of
SpecificPackageDB
path
->
path
_
->
userDir
</>
"package.conf"
]
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment