---
synopsis: Fix assertion failure, stanzas explicitly disabled should not be available
packages: [cabal-install]
prs: 12080
issues: 11568
---

Remove `lookupLocalPackageConfig`, an export from module
`Distribution.Client.ProjectConfig`. This function would ignore
`projectConfigAllPackages` (`package *`) and thus diverge from
`lookupPerPkgOption`. This would then cause further divergence between
`elabStanzasRequested`.
