!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

684 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://nixos.org/manual/nixpkgs/unstable/#haskell | Current PR: https://github.com/nixos/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Ahaskell-updates | Maintainer Docs: https://github.com/NixOS/nixpkgs/blob/haskell-updates/pkgs/development/haskell-modules/HACKING.md | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org | Merger Schedule: https://cloud.maralorn.de/apps/calendar/p/H6migHmKX7xHoTFa/dayGridMonth/now | Join #haskell.nix:libera.chat for question about the alternative haskell.nix infrastructure135 Servers

Load older messages


SenderMessageTime
10 Feb 2025
@dmjio:matrix.org@dmjio:matrix.org I'm personally not, but other people I know who use miso at work do use 8.10 22:18:29
@dmjio:matrix.org@dmjio:matrix.orgOk then we're in the same boat22:18:48
@alexfmpe:matrix.orgalexfmpeIsn'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
@alexfmpe:matrix.orgalexfmpethe question is whether anyone needs a new nixpkgs with a 8.x ghcjs22:19:38
@maralorn:maralorn.demaralornAnyway 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
@maralorn:maralorn.demaralorn* 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
@dmjio:matrix.org@dmjio:matrix.org6 years old22:21:07
@rosscomputerguy:matrix.orgTristan Ross
In reply to @dmjio:matrix.org
6 years old
That's a little scary
22:21:20
@alexfmpe:matrix.orgalexfmpewow22:21:35
@maralorn:maralorn.demaralornAnd 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
@maralorn:maralorn.demaralornOur pin at work is roughly the same age. 😄22:22:00
@dmjio:matrix.org@dmjio:matrix.org 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
@dmjio:matrix.org@dmjio:matrix.org * 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
@alexfmpe:matrix.orgalexfmpecan 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 yet22:23:19
@alexfmpe:matrix.orgalexfmpeI know the folks working on js backend have been throwing google closure compiler at hello world and whatnot successfully, I just haven't tried any of that myself, was strictly in "build it in nixpkgs" mode22:24:14
@alexfmpe:matrix.orgalexfmpeso 3 is possibly fixed22:24:22
@alexfmpe:matrix.orgalexfmpe1 is probably fixed? wasn't this caused by spawning node processes like there's no tomorrow?22:24:45
@maralorn:maralorn.demaralornAnd this number 4 means, that the miso nixpkgs pin got too old and you somehow need a way out. Do I understand that correctly?22:24:47
@maralorn:maralorn.demaralornWell, come to think of it. It’s actually probably only 4 years old.22:25:18
@alexfmpe:matrix.orgalexfmpeI see where I got confused. The commit adding the pin was ~2 years when I looked but the pinned commit is indeed from 201922:25:38
@alexfmpe:matrix.orgalexfmpe* I see where I got confused. The commit last touching the pin was ~2 years when I looked but the pinned commit is indeed from 201922:25:43
@dmjio:matrix.org@dmjio:matrix.orgWould love to see the new backend reach feature parity but I just feel like ghcjs users have to now become nix experts and/or compiler engineers, which some want to do I guess, others just wanna build web apps22:26:08
@maralorn:maralorn.demaralornThat’s actually a valuable data point. I keep telling my boss that at some point we won’t be able to sustain this …22:26:49
@alexfmpe:matrix.orgalexfmpeI'd think mainlining ghcjs makes it easier for users to consume with less hassle no?22:27:36
@alexfmpe:matrix.orgalexfmpe $ nix-build -A pkgsCross.ghcjs.haskell.packages.ghc912.miso <-- this is how one builds miso for js backend on 9.12 inside nixpkgs 22:28:39
@maralorn:maralorn.demaralornI kinda hate doing nix and nixpkgs stuff to. I also just wanna program Haskell apps. Alas, someone has to do the plumbing. Our collective goal here is to make all of this as smooth as possible, so that we can all get back to writing software. 😄22:29:39
@maralorn:maralorn.demaralorn* I kinda hate doing nix and nixpkgs stuff, too. I also just wanna program Haskell apps. Alas, someone has to do the plumbing. Our collective goal here is to make all of this as smooth as possible, so that we can all get back to writing software. 😄22:29:52
@alexfmpe:matrix.orgalexfmpeyeah, we're kind of in ripping off the band aid mode at this point22:35:25
@maralorn:maralorn.demaralornI mean really we in this channel are really not responsible for any of the ecosystem developments we just try to keep it all working together. 😄22:35:33
@alexfmpe:matrix.orgalexfmpedo you have a sense on how old their nixpkgs pin is? 22:38:33

Show newer messages


Back to Room ListRoom Version: 6