mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-12 15:28:29 +01:00
Ensure unique list of build tools
This commit is contained in:
parent
a2f2434fc9
commit
e479c6473c
@ -49,6 +49,8 @@ iiBuildTools InstallInfo { iiPackageDB = PackageDB m, iiPackages = packages } =
|
||||
$ topSort
|
||||
$ map addDependencies
|
||||
$ filter (flip Set.notMember coreTools . fst)
|
||||
$ Set.toList
|
||||
$ Set.fromList
|
||||
$ mapMaybe (flip Map.lookup buildToolMap)
|
||||
$ Set.toList
|
||||
$ Set.unions
|
||||
|
||||
Loading…
Reference in New Issue
Block a user