summaryrefslogtreecommitdiff
path: root/hadrian/src/Rules/Clean.hs
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2020-03-27 14:06:39 -0400
committerRyan Scott <ryan.gl.scott@gmail.com>2020-03-31 11:54:19 -0400
commit394c9c4b2a338663656e054767c3f0205732dfcb (patch)
treee1fda5f90433ae8e05d68ac9b8f4aa676a1e3502 /hadrian/src/Rules/Clean.hs
parent4b9c586472bf99425f7bbcf346472d7c54f05028 (diff)
downloadhaskell-wip/hadrian-8.10.tar.gz
Make Hadrian build with Cabal-3.2wip/hadrian-8.10
GHC 8.10 ships with `Cabal-3.2.0.0`, so it would be convenient to make Hadrian supporting building against 3.2.* instead of having to rebuild the entirety of `Cabal-3.0.0.0`. There is one API change in `Cabal-3.2.*` that affects Hadrian: the `synopsis` and `description` functions now return `ShortText` instead of `String`. Since Hadrian manipulates these `String`s in various places, I found that the simplest fix was to use CPP to convert `ShortText` to `String`s where appropriate.
Diffstat (limited to 'hadrian/src/Rules/Clean.hs')
0 files changed, 0 insertions, 0 deletions