Commit 5d2e4a1c authored by dterei's avatar dterei
Browse files

Change Safe Haskell package trust default to untrusted

parent 9f0b7264
......@@ -148,7 +148,7 @@ emptyInstalledPackageInfo
exposed = False,
exposedModules = [],
hiddenModules = [],
trusted = True,
trusted = False,
importDirs = [],
libraryDirs = [],
hsLibraries = [],
......
......@@ -110,7 +110,7 @@ toCurrent ipi@InstalledPackageInfo{} = Current.InstalledPackageInfo {
Current.exposed = exposed ipi,
Current.exposedModules = map convertModuleName (exposedModules ipi),
Current.hiddenModules = map convertModuleName (hiddenModules ipi),
Current.trusted = True,
Current.trusted = Current.trusted Current.emptyInstalledPackageInfo,
Current.importDirs = importDirs ipi,
Current.libraryDirs = libraryDirs ipi,
Current.hsLibraries = hsLibraries ipi,
......
......@@ -145,7 +145,7 @@ toCurrent ipi@InstalledPackageInfo{} = Current.InstalledPackageInfo {
Current.exposed = exposed ipi,
Current.exposedModules = map convertModuleName (exposedModules ipi),
Current.hiddenModules = map convertModuleName (hiddenModules ipi),
Current.trusted = True,
Current.trusted = Current.trusted Current.emptyInstalledPackageInfo,
Current.importDirs = importDirs ipi,
Current.libraryDirs = libraryDirs ipi,
Current.hsLibraries = hsLibraries ipi,
......
......@@ -275,7 +275,7 @@ generalInstalledPackageInfo adjustRelIncDirs pkg lib clbi installDirs =
IPI.exposed = libExposed lib,
IPI.exposedModules = exposedModules lib,
IPI.hiddenModules = otherModules bi,
IPI.trusted = True,
IPI.trusted = IPI.trusted IPI.emptyInstalledPackageInfo,
IPI.importDirs = [ libdir installDirs | hasModules ],
IPI.libraryDirs = if hasLibrary
then libdir installDirs : extraLibDirs bi
......
Markdown is supported
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