-
Notifications
You must be signed in to change notification settings - Fork 691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get the Kmett-verse off custom setups #3788
Comments
I also have a few scripts that copy an extra image or something into the haddock directory. I think the lens script does so. |
Don't we have |
Since around 1.18 right? I've yet to be able to make the switch. |
@ezyang, the
I.e. if there would be declarative way to run |
Fixed in #3825. |
@RyanGlScott, yes, AFAICS the doctests are the only reason Edward's packages use Custom setup. |
rescheduling for 3.0. |
What's the next step here? Looking at the referenced tickets and PRs above, it seems like they're all closed/merged. Can we just go ahead and simplify custom setups of kmett packages? |
Not likely. |
I won't be able to do so until I can expect all the users in my current support window are on a version of cabal with those patches integrated. Even that clock really can't start until after, as noted, the problems with |
@ekmett well, do your users actually need to be able to invoke the doctest-testsuite with legacy cabal versions? It's quite possible that we can implement this in a similar way to the |
@hvr That might work. |
Using |
I'm willing to declare intent to move the rest to |
I built an intersection of two lists
Here's the result with comments:
So, these all look kinda dated. I propose we close this issue as completed (thanks to maintainers of respective packages, mostly Ryan). |
Well done. Thank you. Closing. |
@ekmett has many packages, even "low level" ones, which use custom setup scripts. Examples:
Grepping for
generateBuildModule
on Hackage will give you quite a parcel.The boilerplate for these setup scripts is quite similar. This function is copy pasted quite a bit:
Any reason why
Paths
can't support this?I've also seen it used for Haddock:
I don't know what kind of bug this is working around. Eek!
It would be great if the Kmett-verse could get off Custom scripts. It will take time, because they have big Cabal support windows. But the change starts here.
The text was updated successfully, but these errors were encountered: