-
Notifications
You must be signed in to change notification settings - Fork 104
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
Cannot apply patches to hmatrix because of modified line endings in Cabal revision #302
Comments
This is very frustrating - I'll have to investigate what happened with line endings. |
@idontgetoutmuch Was it intended that the above commit closes this ticket? |
Yes for reasons best known to itself, github truncated the commit message |
Well, may you reveal to me what the message was then? 😁 |
Remove sundials as it has its own repo now. Fix |
Then it wasn't cut off, as that's what idontgetoutmuch@cb09d0e says. But I don't understand how that implements the request
And the latest "revision" on https://hackage.haskell.org/package/hmatrix-0.19.0.0/revisions/ for that version still has the problem. |
Isn't is this what you want? https://hackage.haskell.org/package/hmatrix-0.20.0.0 TBH I don't understand what you do want now I think about it. |
A new release is also good because its However, a new release will not fix the current problems with 0.19 on Hackage, and many setups still use that. What I originally asked (sorry for not being clear!) was
for the 0.19 version, e.g. by making a Hackage revision for that version, that has correct line endings. |
It's not obvious how to do this. It seems I can edit the file only by using the GUI provided and I assume this saves the file with the undesirable line endings. I will ask on # hackage. |
How about doing a |
Is this still causing a problem? |
For what it's worth, I would classify this as a Hackage bug rather than an HMatrix bug. |
I wanted to use the patch from #301 on my nix-based build, but the build fails with:
This is because the
.cabal
file was modified in https://hackage.haskell.org/package/hmatrix-0.19.0.0/revisions/ which changed all original\n
line endings to\r\n
, which means a patch working onhmatrix
git master no longer works onhmatrix
on Hackage.This breaks my workflow.
Could you fix the cabal file on Hackage, so that the version on Hackage is the same as on Github?
Thanks!
The text was updated successfully, but these errors were encountered: