!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
@sternenseemann:systemli.orgsterniUnfortunately not. The problem is that when nightly is deemed ready and forked into an LTS snapshot, nightly is usually bumped to a new compiler. Then all hell breaks loose because it is only then people realize how broken everything is and a lot of packages get removed and gradually reintroduced when their maintainers manage to catch up. They can sort of afford that because you can just pick a solver that works for you. We, on the other hand, have some kind of quality standard in mind that we have to achieve every haskell-updates merge.11:35:22
@sternenseemann:systemli.orgsterniso tracking nightly would probably mean occasionally jumping ahead of LTS which is probably very work intensive11:35:52
@sternenseemann:systemli.orgsterni maralorn: well and some are properly tied to ghc, e.g. base 11:36:21
@emilazy:matrix.orgemily right. I was thinking of nightly as "if it hurts, do it more often", but if it's more just like tracking n + 1 instead of n then it seems like a bad deal, given that you pay for that + 1 in "nothing works" currency. 11:37:32
@sternenseemann:systemli.orgsterniAlso when we tracked nightly was kind of a special time when aeson 2.0 came out and GHC moved to the 9.* versions. That felt like years of the ecosystem stuck in a strange transition period11:37:38
@maralorn:maralorn.demaralornI mean I guess at some point in the lifecycle nightly is probably already stable enough for us and at that point we could just jump the gun. And I actually don’t think it would be significantly more work than waiting for it officially becoming LTS. But as I said, we are normally to busy to do that in that moment so we wait until we are forced.11:37:43
@emilazy:matrix.orgemilyI don't suppose there's any convenient lining-up with the release cycle where you could e.g. jump to a nightly that will be LTS by the time the Nixpkgs release happens?11:38:16
@maralorn:maralorn.demaralornActually it might make sense to do it after the 24.11 release …11:39:03
@sternenseemann:systemli.orgsterniI think stackage releases when it's “ready” or when they really want to move to a new GHC version on nightly or whatever11:39:05
@sternenseemann:systemli.orgsterniI mean jumping to nightly may be worth a try. We'd need to gain experience when the /magic moment/ to jump is probably.11:39:37
@emilazy:matrix.orgemily
In reply to @maralorn:maralorn.de
Actually it might make sense to do it after the 24.11 release …
it's always nicer to eat pain early in release cycle rather than late at least :)
11:40:02
@maralorn:maralorn.demaralorn34 actually, https://downloads.haskell.org/ghc/latest/docs/users_guide/9.10.1-notes.html#included-libraries11:40:11
@emilazy:matrix.orgemily(FWIW I have no objection to tracking LTS or anything. just looking to learn more about the procedures)11:40:50
@maralorn:maralorn.demaralorn
In reply to @sternenseemann:systemli.org
I mean jumping to nightly may be worth a try. We'd need to gain experience when the /magic moment/ to jump is probably.
Probably need some kind of canary packages. i.e. pandoc, hledger or something needs to be included.
11:41:13
@maralorn:maralorn.demaralorn
In reply to @emilazy:matrix.org
(FWIW I have no objection to tracking LTS or anything. just looking to learn more about the procedures)
Discussion didn’t feel hostile in the slightest.
11:41:41
@emilazy:matrix.orgemilyjust wanted to be clear that I'm not being like hey you should change something 😅11:43:37
@emilazy:matrix.orgemily
In reply to @maralorn:maralorn.de
Probably need some kind of canary packages. i.e. pandoc, hledger or something needs to be included.
a "channel blocker job" of sorts for release-haskell.nix, I suppose?
11:44:05
@sternenseemann:systemli.orgsterniwhat you probably can do is checking the diff (e.g. https://www.stackage.org/diff/lts-22.39/nightly-2024-10-22) and contemplating whether you can afford breaking the packages that have been removed11:45:27
@maralorn:maralorn.demaralorn
In reply to @emilazy:matrix.org
just wanted to be clear that I'm not being like hey you should change something 😅
Well it was a nice reminder, that that is actually what we (at least I) want. It’s just that we didn’t get to it.
11:45:31
@sternenseemann:systemli.orgsternibut another question are of course untracked packages that may be broken by upgrades that are fine in stackage11:45:50
@emilazy:matrix.orgemilylosing amazonka sounds painful (or does nobody use that any more?)11:46:21
@maralorn:maralorn.demaralorn Huh, at some point I didn’t give a shit about amzonka. I don’t work for jeff bezos … But now we use it at work, so I kinda have to care. /o\ 11:47:18
@emilazy:matrix.orgemilyoh no, lambdabot too. unshippable.11:47:29
@maralorn:maralorn.demaralornI mean it doesn’t have to mean that we can’t fix them. We are allowed workarounds which stackage doesn’t.11:50:16
@emilazy:matrix.orgemilythe lambdabot part was a joke :)11:51:48
@emilazy:matrix.orgemilyamazonka and sdl2 seemed like the only worrying things from a quick scan.11:51:59
@emilazy:matrix.orgemilyso maybe after 24.11 would be reasonable.11:52:15
@maralorn:maralorn.demaralornWell, there is also apparently no ghc-lib-parser and thus no ormolu, hlint, hindent and stuff like that. A bit unclear to me whether that’s normal on nightly.11:53:03
@emilazy:matrix.orgemilyoh, I missed that one.11:54:37
@dyniec:matrix.orgdyniec changed their profile picture.12:10:51

Show newer messages


Back to Room ListRoom Version: 6