Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
b640ba9c
Commit
b640ba9c
authored
May 22, 2012
by
Simon Marlow
Browse files
Accept the old -package-conf flags for backwards compatibility
parent
d82da293
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/main/DynFlags.hs
View file @
b640ba9c
...
...
@@ -1762,6 +1762,10 @@ package_flags = [
,
Flag
"global-package-db"
(
NoArg
(
addPkgConfRef
GlobalPkgConf
))
,
Flag
"user-package-db"
(
NoArg
(
addPkgConfRef
UserPkgConf
))
-- backwards compat with GHC<=7.4 :
,
Flag
"package-conf"
(
HasArg
(
addPkgConfRef
.
PkgConfFile
))
,
Flag
"no-user-package-conf"
(
NoArg
removeUserPkgConf
)
,
Flag
"package-name"
(
hasArg
setPackageName
)
,
Flag
"package-id"
(
HasArg
exposePackageId
)
,
Flag
"package"
(
HasArg
exposePackage
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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