Skip to content

Add cabal-install-3.4.0.0 #3

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

Closed
RyanGlScott opened this issue Feb 22, 2021 · 8 comments
Closed

Add cabal-install-3.4.0.0 #3

RyanGlScott opened this issue Feb 22, 2021 · 8 comments

Comments

@RyanGlScott
Copy link

See https://downloads.haskell.org/~cabal/cabal-install-3.4.0.0/cabal-install-3.4.0.0-x86_64-windows.zip for the Windows bindist.

@Mistuke
Copy link
Owner

Mistuke commented Feb 22, 2021

Thanks for the heads-up, was waiting for the release. I will add them after work today.

@Mistuke
Copy link
Owner

Mistuke commented Feb 23, 2021

Hmm that release is kinda broken, the file inside has no extension so it won't run.

I can work around it but hesitant to do so if they are planning to fix it since that changes the sha256 and breaks the package. So will need to know if this is final.

@RyanGlScott
Copy link
Author

Hmm that release is kinda broken, the file inside has no extension so it won't run.

Interesting! Is this a known issue, @phadej?

@phadej
Copy link

phadej commented Feb 23, 2021

I don't remember changing anything in release.py

Also previous (release candidates) zip in http://oleg.fi/cabal-install-3.4.0.0-rc4/ has just "cabal" (not cabal.exe). I wasn't aware that is a problem.

@Mistuke
Copy link
Owner

Mistuke commented Feb 23, 2021

Also previous (release candidates) zip in http://oleg.fi/cabal-install-3.4.0.0-rc4/ has just "cabal" (not cabal.exe). I wasn't aware that is a problem.

The previous RC releases on chocolatey are ones I built myself. It's not a problem for the OS, which just checks the first two bytes of the file. But it's a problem for the shell (i.e. explorer can't run this, but granted, cabal is commandline anyway) and it's a problem for tools like chocolatey which filters executables based on extensions.

As I said not a problem for me, I can add a workaround (namely calling install-binfile explicitly), but it's highly unusual not to have an extension for a Windows program. I'm not sure what other tooling breaks.

@phadej
Copy link

phadej commented Feb 23, 2021

Yes, I'm not arguing we shouldn't fix release.py. But I'd say the proper place to discuss that further is Cabal's issue tracker.

@Mistuke
Copy link
Owner

Mistuke commented Feb 23, 2021

I created haskell/cabal#7298

@Mistuke
Copy link
Owner

Mistuke commented Feb 26, 2021

Done, https://chocolatey.org/packages/cabal/3.4.0.0

Will take an hour or two to go through moderation. GHC 9.0 should follow shortly. (package was unable to be submitted until cabal was available)

@Mistuke Mistuke closed this as completed Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants