Commit 4305e089 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Fix --package-conf= for unregister too

parent c223228b
......@@ -284,7 +284,7 @@ unregister pkg_descr lbi regFlags = do
config_flags <- case packageDB of
GlobalPackageDB -> return []
UserPackageDB -> return ["--user"]
SpecificPackageDB db -> return ["-package-conf", db]
SpecificPackageDB db -> return ["--package-conf=" ++ db]
let removeCmd = ["unregister",showPackageId (package pkg_descr)]
let Just pkgTool = lookupProgram ghcPkgProgram (withPrograms lbi)
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