Open nh2 opened 5 years ago
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? :grin:
Remove sundials as it has its own repo now. Fix
Then it wasn't cut off, as that's what https://github.com/idontgetoutmuch/hmatrix/commit/cb09d0e99ae4f10cd2b3f3ac667df83946a9744d says.
But I don't understand how that implements the request
Could you fix the cabal file on Hackage
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 .cabal
file will also agree with what's in the repo (for now, until somebody makes a Cabal revision via the Hackage UI, at which piont the problem wil reappear for that version as well).
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
Could you fix the cabal file on Hackage
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 sed
via nix in the pre build phase (I forget what nix calls this)? I have had no response from # hackage so far.
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 https://github.com/haskell-numerics/hmatrix/pull/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!