Commit 4a037842 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

trust packages when they're installed

For 7.2 we ignore the trust value in the package info we get given,
and always trust packages
parent acd157f7
......@@ -801,7 +801,10 @@ registerPackage input verbosity my_flags auto_ghci_libs expand_env_vars update f
| p <- packages db_to_operate_on,
sourcePackageId p == sourcePackageId pkg ]
--
changeDB verbosity (removes ++ [AddPackage pkg]) db_to_operate_on
-- In 7.2, we always trust packages when they're installed
let pkg' = pkg { trusted = True }
changeDB verbosity (removes ++ [AddPackage pkg']) db_to_operate_on
parsePackageInfo
:: String
......
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