Skip to content
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

Please, provide an executable with GHC 8.10 in Nixpkgs #656

Closed
Anton-Latukha opened this issue Jun 25, 2020 · 5 comments
Closed

Please, provide an executable with GHC 8.10 in Nixpkgs #656

Anton-Latukha opened this issue Jun 25, 2020 · 5 comments

Comments

@Anton-Latukha
Copy link
Collaborator

Anton-Latukha commented Jun 25, 2020

Currently the default package for HNix 0.9.0 in haskell-updates is without an executable, because Nixpkgs default is 8.8.3.

I would go downstream and would try to negotiate the HNix shipment with GHC 8.10 in the closure.

Since that is also a future-proofing, Nixpkgs and we anyway would roll onto GHC 8.10, and executable status would most probably be as true case then as it is now.

@Anton-Latukha
Copy link
Collaborator Author

Anton-Latukha commented Jun 25, 2020

Well, since executable is in a bad state, maybe we need to worry about that more, at the moment there is almost no sense in shipping it.

I again arrived at the same conclusion I arrived at in #328

@sjakobi
Copy link
Member

sjakobi commented Jun 26, 2020

executable is in a bad state

What are the problems with the current state? Do we have tickets that track them?

@Anton-Latukha
Copy link
Collaborator Author

Anton-Latukha commented Jul 9, 2020

Well, it is very simple, Nixpkgs defaults to 8.8.3, so no executable for us there.
Or we need to negotiate GHC overload (->8.10) for us, which would mean we would sneak a whole stack (maybe a couple of GBs would suddenly get into our "default" closure for many of our users).

In time forming a separate executable - should solve this properly, then we can say - that people opted-in to have the binary, so lets send GHC 8.10 stack then.

@Anton-Latukha Anton-Latukha changed the title Please, provide an executable in Nixpkgs Please, provide an executable with GHC 8.10 in Nixpkgs Jul 9, 2020
@Anton-Latukha
Copy link
Collaborator Author

Or maybe we can do a clever hack, and form a separate build of executable, but when we ready - the forming executable is a proper way.

@Anton-Latukha
Copy link
Collaborator Author

This was done in Nixpkgs quite some time ago, 8.10.1-specific package there provides HNix executable from the last version and onward.

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

2 participants