Skip to content

Commit 8365cec

Browse files
authored
Merge pull request #11208 from sgillespie/fix/exe-incomplete-record-selectors
Fix incomplete-record-selection warning in cabal-install
2 parents 574ec03 + de8c1b5 commit 8365cec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,8 +1246,8 @@ getPackageSourceHashes verbosity withRepoCtx solverPlan = do
12461246
]
12471247
| (repo, pkgids) <-
12481248
map (\grp@((repo, _) :| _) -> (repo, map snd (NE.toList grp)))
1249-
. NE.groupBy ((==) `on` (remoteRepoName . repoRemote . fst))
1250-
. sortBy (compare `on` (remoteRepoName . repoRemote . fst))
1249+
. NE.groupBy ((==) `on` (repoName . fst))
1250+
. sortBy (compare `on` (repoName . fst))
12511251
$ repoTarballPkgsWithMetadata
12521252
]
12531253

0 commit comments

Comments
 (0)