Skip to content

Commit a5d0445

Browse files
committed
fix bug
1 parent 7096bef commit a5d0445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cabal-install/src/Distribution/Client/ProjectPlanning.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ planPackages verbosity comp platform solver SolverSettings{..}
10251025

10261026
. addPreferences
10271027
-- enable stanza preference unilaterally, even when the user asked to enable as well, to help hint the solver.
1028-
[ PackageStanzasPreference pkgname [minBound..maxBound]
1028+
[ PackageStanzasPreference pkgname stanzas
10291029
| pkg <- localPackages
10301030
, let pkgname = pkgSpecifierTarget pkg
10311031
stanzaM = Map.findWithDefault Map.empty pkgname pkgStanzasEnable

0 commit comments

Comments
 (0)