!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

724 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
@teoc:matrix.orgTeo (he/him)See this commit message: https://gitlab.haskell.org/ghc/head.hackage/-/commit/1b616c6c48dc11dfe1e357d4250ad6882cd3224a12:21:21
@alexfmpe:matrix.orgalexfmpeswitching to nightly needs one eager flag day but personally I'm up for that pain if we belive it makes the long term better12:21:33
@alexfmpe:matrix.orgalexfmpe* switching to nightly needs one eager flag day but personally I'm up for that pain if we believe it makes the long term better12:21:43
@emilazy:matrix.orgemilyit just seems like there's a cadence issue (from previous talk in the room) and IMO any situation where you're ending up with months-long branches off Nixpkgs is pain12:23:05
@alexfmpe:matrix.orgalexfmpe

Nix's Haskell infrastructure doesn't handle flags, which can complicate building some packages

it doesn't ?

12:23:12
@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

Show newer messages


Back to Room ListRoom Version: 6