!RbXGJhHMsnQcNIDFWN:nixos.org

Nix Haskell

611 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 infrastructure123 Servers

Load older messages


SenderMessageTime
23 Oct 2024
@emilazy:matrix.orgemilythere is tooling that lets you use arbitrary versions11:05:59
@emilazy:matrix.orgemilyjust not in Nixpkgs11:06:02
@emilazy:matrix.orgemily haskell.nix etc. 11:06:16
@jean-paul.:matrix.orgjean-paul.yea, I played that game before. nicer than haskellPackages from nixpkgs, not as nice in other ways ... Guess I'll see how bad it is to switch my app down to 0.4.11:11:24
@maralorn:maralorn.demaralorn jean-paul.: emily Looks like you figured it out, already. But just fyi I put an explanation about which versions we have into the nixpkgs manuals Haskell section. 11:22:00
@emilazy:matrix.orgemilyso nightly is avoided because it's smaller basically?11:22:17
@maralorn:maralorn.demaralornNo, nightly is avoided because stern.i and I can’t stay students forever.11:22:57
@emilazy:matrix.orgemilyheh11:23:20
@maralorn:maralorn.demaralornA few years back, when we had more capacity we lived on nightly for a while. And it was actually better in some regard.11:24:11
@maralorn:maralorn.demaralornBecause when the age gap between our stackage and hackage is lower, that breaks less packages outside of stackage.11:24:37
@emilazy:matrix.orgemilyright11:24:48
@emilazy:matrix.orgemilyisn't 9.8 the default compiler too? so we're technically going against Stackage LTS there?11:24:58
@emilazy:matrix.orgemilyor maybe it isn't and I'm imagining things11:25:03
@emilazy:matrix.orgemilyI'm going senile in the Haskell retirement home 😅11:25:19
@maralorn:maralorn.demaralornBut at this point we only do the update when stackage LTS forces us, because switching to a new LTS is an uncalculatable mountain of work. Maybe around 2 fulltime weeks. Which we can’t just slip in casually.11:26:55
@maralorn:maralorn.demaralorn * But at this point we only do the update when stackage LTS forces us, because switching to a new snapshot is an uncalculatable mountain of work. Maybe around 2 fulltime weeks. Which we can’t just slip in casually.11:27:08
@emilazy:matrix.orgemilyand nightly was painful because it was smaller amounts of work but much more frequently?11:27:27
@maralorn:maralorn.demaralornNo, thats not the problem.11:27:56
@maralorn:maralorn.demaralornJust switching from LTS to nightly is so costly.11:28:11
@maralorn:maralorn.demaralornAnd then when that nightly becomes the new LTS switching to the next nightly.11:28:30
@emilazy:matrix.orgemilyright, okay.11:28:44
@emilazy:matrix.orgemily what makes the bumps so painful? applications breaking because they depend on stuff outside of Stackage that breaks? stuff needing patching/deps updating because of cabal2nix infelicities? 11:28:54
@maralorn:maralorn.demaralornI think it is a similar amount of work, probably slightly higher because generally the later we switch the more the ecosystem has already adapted.11:29:07
@maralorn:maralorn.demaralornAnd mostly the point where nightly bumps to the next ghc is too early for us to follow so we wait a bit, and then there is no good point. So we fall back to LTS.11:30:05
@maralorn:maralorn.demaralorn
In reply to @emilazy:matrix.org
what makes the bumps so painful? applications breaking because they depend on stuff outside of Stackage that breaks? stuff needing patching/deps updating because of cabal2nix infelicities?
It’s a flag day kinda problem. All kinds of small pains all happening at the same time summing up. I don’t think it has much to do with cabal2nix. It’s mainly that a lot of packages outside of stackage are not compatible with the new stackage out of the box. That’s rarely because they use a ghc feature that change and often because of some kind of breakage in the core libraries.
11:32:02
@maralorn:maralorn.demaralornLately mtl dropping re-exports was a major pain.11:32:21
@maralorn:maralorn.demaralorn
In reply to @emilazy:matrix.org
what makes the bumps so painful? applications breaking because they depend on stuff outside of Stackage that breaks? stuff needing patching/deps updating because of cabal2nix infelicities?
* It’s a flag day kinda problem. All kinds of small pains all happening at the same time summing up. I don’t think it has much to do with cabal2nix. It’s mainly that a lot of packages outside of stackage are not compatible with the new stackage out of the box. That’s rarely because they use a ghc feature that changed and often because of some kind of breakage in the core libraries.
11:32:44
@emilazy:matrix.orgemilyyep, makes sense. I was thinking nightly would be more rolling-release, but I guess it's more like nightlies are just alpha versions of the next LTS, so you still eat a whole bunch of breakage all at once?11:32:44
@maralorn:maralorn.demaralorn
In reply to @emilazy:matrix.org
yep, makes sense. I was thinking nightly would be more rolling-release, but I guess it's more like nightlies are just alpha versions of the next LTS, so you still eat a whole bunch of breakage all at once?
Yes, exactly. That is because ghc bundles roughly 30 libraries these days, so at least those don’t get rolling release at all but get always bumped together with ghc. (in stackage, cabal can actually give you more flexibility with that, but stackage is kinda pinned to the bundled versions because of its global consistency requirement)
11:34:41
@emilazy:matrix.orgemilyjeez, 30? I feel like it used to be more like 10.11:35:06

Show newer messages


Back to Room ListRoom Version: 6