You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change [c3a5b96] changed the signature of withTempFile by adding an additional Bool argument. This causes custom Setup.hs files that use that function to break. See, for example, the package GLFW.
What's more, I can't see any way to cleanly handling this situation in a Setup.hs file - and still support building in environments both 1.16 and earlier, and post- 1.17 (which seems slated to include this change.)
I understand the desire for the functionality, but a new function should be added, perhaps withTempFile' or withTemporaryFile, or withTempFilePossiblyDeleting, and have the old API call it.