!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.org143 Servers

Load older messages


SenderMessageTime
5 Jun 2021
@cdepillabout:matrix.orgcdepillabout toonn: I'm not sure what you're trying to compare when you're talking about stackage vs nixpkgs. Nixpkgs generally has about 6000 haskell packages building, while stackage only has about 3000. There is really no comparison. 13:01:20
@toonn:matrix.orgtoonn cdepillabout: That's all well and good until you try to depend on more than one at the same time. 13:01:55
@toonn:matrix.orgtoonn Jailbreaking isn't a good option. 13:02:11
@cdepillabout:matrix.orgcdepillabout toonn: Ah, you mean depend on more than one version of GHC? 13:02:24
@toonn:matrix.orgtoonn When I used the infra I had to jailbreak and disable tests constantly. Felt like maintaining my own tiny stackage. 13:02:55
@toonn:matrix.orgtoonn No, just packages. 13:03:02
@toonn:matrix.orgtoonn Especially if you need a newer version of anything. 13:03:28
@cdepillabout:matrix.orgcdepillaboutThat's definitely not how I feel at all.13:03:39
@toonn:matrix.orgtoonn You lose all the support instantly. 13:03:43
@cdepillabout:matrix.orgcdepillaboutI mean, really you should have been upstreaming stuff.13:03:52
@sternenseemann:systemli.orgsterni (he/him)part of the pain has been lessened by stackage nightly13:04:00
@sternenseemann:systemli.orgsterni (he/him)and yeah a big problem is I think ppl having an overlay in their dev environment and not contributing fixes back13:04:18
@cdepillabout:matrix.orgcdepillabout * I mean, really you should have been upstreaming those jailbreaks and dontChecks.13:04:21
@toonn:matrix.orgtoonn No, I don't think package updates should be upstreamed, especially when, as in my case, they require bumping a ton of deps from the stackage versions. 13:04:51
@toonn:matrix.orgtoonn It'd unnecessarily break things for others. That's exactly why depending on Stackage is nice. 13:05:14
@cdepillabout:matrix.orgcdepillaboutNo, you really should upstream fixes to Nixpkgs.13:05:27
@cdepillabout:matrix.orgcdepillaboutYou could at least unbreak the foobar_x_y_z version of the packages.13:05:55
@maralorn:maralorn.demaralornWell, if it includes manually bumping stackage packages, I am not sure.13:05:58
@toonn:matrix.orgtoonn I think you're not hearing what I'm saying. The "fix" is just needing a newer version. 13:06:02
@toonn:matrix.orgtoonn And that newer version needs newer versions of other packages. 13:06:12
@cdepillabout:matrix.orgcdepillaboutWe have the newest versions of all Haskell packages in Nixpkgs.13:06:25
@toonn:matrix.orgtoonn Which aren't necessarily compatible with the rest of Stackage. 13:06:26
@cdepillabout:matrix.orgcdepillaboutYeah, and it still great when people send fixes for them.13:06:43
@toonn:matrix.orgtoonn I think maybe you're talking about the current situation? 13:06:58
@toonn:matrix.orgtoonn Back when I used the infra Nixpkgs definitely did not have the latest version of everything. 13:07:15
@toonn:matrix.orgtoonn I didn't know Stackage Nightly even used the latest versions of everything? 13:07:54
@toonn:matrix.orgtoonn That sounds like you'd be completely giving up the Stackage guarantee? 13:08:05
@toonn:matrix.orgtoonn What's even the point of using Stackage then? 13:08:16
@maralorn:maralorn.demaralorn I think toonn is right, when it’s about wanting a newer version of a stackage package. But then otoh that would be worse when using stackage. When we are talking about a package outside of stackage. We nearly always have the newest and we only pin it to an older version because of stackage in very rare cases. 13:08:21
@cdepillabout:matrix.orgcdepillaboutHuh, maybe that was before my time. As far as I've been using it, Nixpkgs has always had the latest versions of all Haskell packages. Some of them don't work, like you're saying, but we still like getting fixes for them.13:08:21

There are no newer messages yet.


Back to Room ListRoom Version: 6