!RbXGJhHMsnQcNIDFWN:nixos.org

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.org145 Servers

Load older messages


SenderMessageTime
22 Apr 2025
@emilazy:matrix.orgemily"if it hurts, do it more often" etc.12:23:24
@teoc:matrix.orgTeo (he/him) Perhaps the issue here was that you wanted the solver to pick some flags and nixpkgs doesn't have a solver? Not sure exactly what he's alluding to tho 12:24:27
@mightybyte:matrix.orgmightybyte joined the room.12:27:35
@ihar.hrachyshka:matrix.org@ihar.hrachyshka:matrix.org joined the room.12:33:31
@alexfmpe:matrix.orgalexfmpe* But it's not an orthogonal layer we can just be agnostic to. If they have some package deep in the dependency chains that is broke but only the tests expose it, stackage will happily base other package versions around it and then we need to undo a part of that EDIT: me wrong. Stackage does run (native) test suites, they just don't patch stuff12:37:03
@alexfmpe:matrix.orgalexfmpe* It's insane to me they don't run test suites EDIT: me wrong. Stackage does run (native) test suites, they just don't patch stuff12:37:51
@teoc:matrix.orgTeo (he/him)Redacted or Malformed Event12:44:39
@alexfmpe:matrix.orgalexfmpe
In reply to @alexfmpe:matrix.org
apparently I'm wrong, stackage site claims they do run test suites
Think I see where I got confused. They do run test suites and also install c libraries and stuff on the docker image for libs that do need that
What they don't seem to do is spin up separate processes or other crazy stuff we get up to when running the test suites
12:48:51
@alexfmpe:matrix.orgalexfmpee.g. postgres libs test suites are disabled12:49:05
@alexfmpe:matrix.orgalexfmpehttps://github.com/commercialhaskell/stackage/blob/master/build-constraints.yaml#L869412:49:08
@alexfmpe:matrix.orgalexfmpeOh heh TIL they also have our silly test-suite-induced-cycle issues12:50:33
@emilazy:matrix.orgemily FWIW, AIUI we used to track Stackage nightly but then stopped. it came up a while ago. I think maralorn had things to say about it. 12:55:17
@maralorn:maralorn.demaralornI am in favor of tracking nightly. We simply didn’t have the energy to frontload the flag day.12:59:57
@emilazy:matrix.orgemilyis the flag day b/c jumping from current LTS to current nightly will effectively be the work of an LTS bump?13:01:09
@alexfmpe:matrix.orgalexfmpeI assume that becomes closer to the truth the closer nightly is to become new LTS?13:06:06
@alexfmpe:matrix.orgalexfmpeOr is nightly just very much broken in the early days?13:08:44
@maralorn:maralorn.demaralornIts comparable yes.13:13:41
@maralorn:maralorn.demaralornIt’s often quite a lot smaller than LTS in the beginning.13:14:07
@emilazy:matrix.orgemilyand I assume the current Nightly is closer to the next LTS than the one we just bumped to? 😆13:14:33
@maralorn:maralorn.demaralorncorrect13:15:57
@maralorn:maralorn.demaralornBumping the stackage snapshot generally means bumping the ghc major version that has friction no matter how early or late we do it.13:16:41
@alexfmpe:matrix.orgalexfmpe
In reply to @maralorn:maralorn.de
It’s often quite a lot smaller than LTS in the beginning.
Huh smaller building set or smaller breakage when bumping to it?
13:19:55
@emilazy:matrix.orgemilyI assumed the former13:23:27
@alexfmpe:matrix.orgalexfmpeHuh yeah the other doesn't make much sense disregarf13:26:13
@alexfmpe:matrix.orgalexfmpe* Huh yeah the other doesn't make much sense disregard13:26:21
@emilazy:matrix.orgemilyright, I actually first assumed the latter and then realized it must be the former :)13:27:21
@emilazy:matrix.orgemilyanyway I guess returning to the actual original point that was raised, I do feel like things are always going to be inherently difficult on some level unless the practices of the Haskell ecosystem itself change. not sure maintainers of packages supporting older and older GHCs is the answer – back in the day I remember it rather painful and it feeling like a relief to be able to rip out an old version, though maybe there's less CPP these days. ideally GHC would make fewer gratuitous breaking changes or at least do them more gracefully… (though again I understand that it's not as bad as it used to be)13:29:14
@maralorn:maralorn.demaralorn We don’t need a lot of back-compat. Maintainers should imo support [Stackage LTS … Stackage Nightly … Hackage Head] 13:31:15
@albertlarsan68:albertlarsan.frAlbert Larsan joined the room.13:45:27
@malteneuss:matrix.org@malteneuss:matrix.orgIf you have the time, could you post this idea to https://discourse.haskell.org/t/how-much-effort-does-backwards-compatibility-require-from-library-authors/11584/79 to further the discussion on this possible direction? (will get more credibility/attention coming from you)13:49:57

Show newer messages


Back to Room ListRoom Version: 6