File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
cabal-install/src/Distribution/Client Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -498,13 +498,13 @@ hideInstalledPackagesAllVersions
498498 :: [PackageName ]
499499 -> DepResolverParams
500500 -> DepResolverParams
501- hideInstalledPackagesAllVersions pkgnames params =
501+ hideInstalledPackagesAllVersions _pkgnames _params = error " we shouldn't be using this "
502502 -- TODO: this should work using exclude constraints instead
503- params
504- { depResolverInstalledPkgIndex =
505- fmap (\ idx -> foldl' (flip InstalledPackageIndex. deletePackageName) idx pkgnames)
506- (depResolverInstalledPkgIndex params)
507- }
503+ -- params
504+ -- { depResolverInstalledPkgIndex =
505+ -- fmap (\idx -> foldl' (flip InstalledPackageIndex.deletePackageName) idx pkgnames)
506+ -- (depResolverInstalledPkgIndex params)
507+ -- }
508508
509509-- | Remove upper bounds in dependencies using the policy specified by the
510510-- 'AllowNewer' argument (all/some/none).
@@ -704,8 +704,8 @@ basicInstallPolicy
704704 (concatMap pkgSpecifierConstraints pkgSpecifiers)
705705 . addTargets
706706 (map pkgSpecifierTarget pkgSpecifiers)
707- . hideInstalledPackagesSpecificBySourcePackageId
708- [packageId pkg | SpecificSourcePackage pkg <- pkgSpecifiers]
707+ -- . hideInstalledPackagesSpecificBySourcePackageId
708+ -- [packageId pkg | SpecificSourcePackage pkg <- pkgSpecifiers]
709709 . addSourcePackages
710710 [pkg | SpecificSourcePackage pkg <- pkgSpecifiers]
711711 $ basicDepResolverParams
You can’t perform that action at this time.
0 commit comments