We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f90d541 commit 3238e87Copy full SHA for 3238e87
Cabal/src/Distribution/Simple/Configure.hs
@@ -1310,7 +1310,7 @@ selectDependency pkgid internalIndex installedIndex requiredDepsMap
1310
-- If we know the exact pkg to use, then use it.
1311
Just pkginstance -> Right pkginstance
1312
-- Otherwise we just pick an arbitrary instance of the latest version.
1313
- Nothing -> case pickLastIPI $ PackageIndex.lookupDependency installedIndex dep_pkgname vr of
+ Nothing -> case pickLastIPI $ PackageIndex.lookupInternalDependency installedIndex dep_pkgname vr lib of
1314
Nothing -> Left (DependencyNotExists dep_pkgname)
1315
Just pkg -> Right pkg
1316
return $ ExternalDependency $ ipiToPreExistingComponent ipi
0 commit comments