Skip to content

Commit fa6d6d1

Browse files
committed
fixup! Add compiler to PackageId
(cherry picked from commit f860065)
1 parent bb2f2e1 commit fa6d6d1

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
@@ -1044,7 +1044,7 @@ reportPlanningFailure projectConfig Toolchain{toolchainCompiler = comp, toolchai
10441044
theSpecifiedPackage pkgSpec =
10451045
case pkgSpec of
10461046
NamedPackage name [PackagePropertyVersion version] ->
1047-
PackageIdentifier name <$> trivialRange version
1047+
PackageIdentifier name <$> trivialRange version <*> Nothing
10481048
NamedPackage _ _ -> Nothing
10491049
SpecificSourcePackage pkg -> Just $ packageId pkg
10501050
-- \| If a range includes only a single version, return Just that version.

0 commit comments

Comments
 (0)