Haskell in Nixpkgs/NixOS | 721 Members | |
| For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/ | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org | 144 Servers |
| Sender | Message | Time |
|---|---|---|
| 10 Feb 2025 | ||
| 9.10 payload sizes I think? | 22:05:51 | |
| but that build doesn't need to be 8.10 ghcjs right? | 22:08:37 | |
| By the way throwing flakes, the new js backend, haskell.nix, nixops and jsaddle-warp together sounds a bit like FUD to me. I get the sentiment, but no one is forcing you to use haskell.nix or flakes and this is all orthogonal to deployment. If you say, that you are currently using ghcjs in nixpkgs and that there are specific things missing for you to switch to the new backend, that is a very valuable data point. | 22:10:38 | |
| maralorn: three things particular
| 22:12:00 | |
| * maralorn:
| 22:12:13 | |
| * maralorn:
| 22:12:38 | |
| https://github.com/ghcjs/ghcjs/issues/821#issuecomment-1129388366 | 22:13:14 | |
| 22:15:31 | |
| kk. I know 1, I don’t know how problematic that is. 2. is not completely solved but the new backend is better than ghcjs 8.10 afaict. 3. I thought that closure compiler works with the new backend (see: https://blog.haskell.org/case-study-foreign-integration-js-browser/). | 22:15:33 | |
| so that's ~10MB pre closure compiler and pre-compression | 22:16:15 | |
| which doesn't sound too big given I've reached 100MB on 8.10 at that stage hhe | 22:16:41 | |
| * which doesn't sound too big given I've reached 100MB on 8.10 at that stage heh | 22:16:45 | |
| But if 2. is really a problem for you, does that mean you are still on ghcjs 8.6? If yes, then you are currently not on a working nixpkgs and us dropping 8.10 wouldn’t make a difference, would it? | 22:16:56 | |
| * But if 2. is really a problem for you, does that mean you are still on ghcjs 8.6? If yes, then you are currently not on an up-to-date nixpkgs and us dropping 8.10 wouldn’t make a difference, would it? | 22:17:26 | |
| Well yes and no, if you don't keep in lockstep with the community eventually everything bitrots to the point where it can't be built. That's why nix has been great so far, but the critical mass of the community is converging around tooling that introduces imo significant regression | 22:17:57 | |
| I would understand that. We are on 8.6 at work exactly for this reason. That is why we don’t care about dropping 8.10 its useless to use anyway. | 22:18:06 | |
I'm personally not, but other people I know who use miso at work do use 8.10 | 22:18:29 | |
| Ok then we're in the same boat | 22:18:48 | |
| Isn't miso's nixpkgs pin ~2 years old? The same goes for reflex-platform which is why we had been assuming everyone would jump from old nixpkgs with 8.x ghcjs to new nixpkgs with 9.12+ | 22:19:21 | |
| the question is whether anyone needs a new nixpkgs with a 8.x ghcjs | 22:19:38 | |
| Anyway we can’t do anything about flakes. And we in this channel generally don’t want to switch to haskell.nix. The bitrotting of ghcjs is sad, but that’s why it is awesome that there is the new backend. | 22:20:04 | |
| * I would understand that. We are on 8.6 at work exactly for this reason. That is why we don’t care about dropping 8.10 its useless to us anyway. | 22:20:13 | |
| 6 years old | 22:21:07 | |
In reply to @dmjio:matrix.orgThat's a little scary | 22:21:20 | |
| wow | 22:21:35 | |
| And the authors of the old and the new backend (which are largely the same people) told me that the new backend is already much better than the old one. | 22:21:48 | |
| Our pin at work is roughly the same age. 😄 | 22:22:00 | |
yea, but the cache makes it work well. Users end up building w/ two differrent compilers, and do code sharing w/ simple types. But we did have an issue where FromJSON changed. | 22:22:29 | |
* yea, but the cache makes it work well. Users end up building w/ two differrent compilers, and do code sharing w/ simple types. But we did have an issue where a FromJSON instance changed. | 22:22:42 | |
| can you easily look at the pre-closure pre-compressed payload sizes for miso-examples with your 8.6 pin and compare to these? because if they're similar, then 2 at least isn't a problem yet | 22:23:19 | |