Commit b640ba9c authored by Simon Marlow's avatar Simon Marlow
Browse files

Accept the old -package-conf flags for backwards compatibility

parent d82da293
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment