summaryrefslogtreecommitdiff
path: root/compiler/main/Packages.lhs
diff options
context:
space:
mode:
authorDavid Terei <davidterei@gmail.com>2012-02-08 16:18:18 -0800
committerDavid Terei <davidterei@gmail.com>2012-02-08 16:18:47 -0800
commit6e87d4b138b8c20f4ad6f842758b21f8509d4f60 (patch)
tree7c6a83f06f029dde25ef33fbd94f80e0496f9bad /compiler/main/Packages.lhs
parent2a58aa112a1e5736154fb3d93f65281405404a78 (diff)
downloadhaskell-6e87d4b138b8c20f4ad6f842758b21f8509d4f60.tar.gz
Fix '-distrust-all-packages' flag.
Diffstat (limited to 'compiler/main/Packages.lhs')
-rw-r--r--compiler/main/Packages.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main/Packages.lhs b/compiler/main/Packages.lhs
index d1fbe2f253..1d6ad4a472 100644
--- a/compiler/main/Packages.lhs
+++ b/compiler/main/Packages.lhs
@@ -272,7 +272,7 @@ setBatchPackageFlags dflags pkgs = (maybeDistrustAll . maybeHideAll) pkgs
| otherwise = pkgs'
hide pkg = pkg{ exposed = False }
- distrust pkg = pkg{ exposed = False }
+ distrust pkg = pkg{ trusted = False }
-- TODO: This code is duplicated in utils/ghc-pkg/Main.hs
mungePackagePaths :: FilePath -> FilePath -> PackageConfig -> PackageConfig