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 21550ee commit a9fee72Copy full SHA for a9fee72
Cabal/Distribution/Backpack/ConfiguredComponent.hs
@@ -306,6 +306,8 @@ newPackageDepsBehaviour pkg =
306
-- and internal libraries are specified the same. For now, we assume internal
307
-- libraries shadow, and this function disambiguates accordingly, but soon the
308
-- underlying ambiguity will be addressed.
309
+-- Multiple public libraries (cabal 3.0) added an unambiguous way of specifying
310
+-- sublibraries, but we still have to support the old syntax for bc reasons.
311
fixFakePkgName :: PackageDescription -> PackageName -> (PackageName, ComponentName)
312
fixFakePkgName pkg_descr pn =
313
if subLibName `elem` internalLibraries
0 commit comments