Skip to content

Commit f860065

Browse files
committed
fixup! Add compiler to PackageId
1 parent 328713a commit f860065

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

0 commit comments

Comments
 (0)