mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-31 16:40:26 +01:00
Force happy to build before c2hs
This commit is contained in:
parent
957783dd62
commit
ae813e340e
@ -125,7 +125,11 @@ iiBuildTools InstallInfo { iiPackageDB = PackageDB m, iiPackages = packages } =
|
|||||||
Just pi -> Set.fromList
|
Just pi -> Set.fromList
|
||||||
$ mapMaybe (flip Map.lookup buildToolMap)
|
$ mapMaybe (flip Map.lookup buildToolMap)
|
||||||
$ Set.toList
|
$ Set.toList
|
||||||
$ piBuildToolsExe pi
|
$ piBuildToolsExe pi `Set.union` manualDeps
|
||||||
|
|
||||||
|
manualDeps
|
||||||
|
| pn == PackageName "c2hs" = Set.singleton $ Executable "happy"
|
||||||
|
| otherwise = Set.empty
|
||||||
|
|
||||||
topSort :: (Show a, Ord a) => [(a, Set a)] -> Either String [a]
|
topSort :: (Show a, Ord a) => [(a, Set a)] -> Either String [a]
|
||||||
topSort orig =
|
topSort orig =
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user