!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

711 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/140 Servers

Load older messages


SenderMessageTime
26 May 2021
@joe:monoid.aljoe (he/him)perhaps there just aren't that many people in that position13:50:23
@maralorn:maralorn.demaralorn
In reply to @joe:monoid.al
I wonder if it'd be possible to construct a mapping between Hackage users and GitHub handles, and make a PR adding those handles who've interacted with NixOS on github as maintainers for their Hackage packages
I wouldn‘t be a huge fan of this. I want a lot of packages to have maintainers, but we only want packages to have maintainers which people honestly care about. Otherwise we will quickly get bogged down by unnecessary work.
13:50:58
@joe:monoid.aljoe (he/him)understood :)13:51:41
@sternenseemann:systemli.orgsterni (he/him)
In reply to @maralorn:maralorn.de
Are you sure about this? I think the logic is this: "Advance nixos-unstable if (everything in nixos:trunk-combined:tested has finished succesfully && everything in nixos:trunk-combined has finished with any result)" Am I wrong about this?
yes, that's why you often have to compile stuff when using nixos-unstable-small because not all jobs necessary for nixos-unstable proper have finished building
13:52:15
@maralorn:maralorn.demaralornBut I am talking about nixos-unstable. Are you talking about nixos-unstable-small?13:53:03
@sternenseemann:systemli.orgsterni (he/him)yeah, but every channel has its own aggregate job set that determines when it advances13:53:44
@sternenseemann:systemli.orgsterni (he/him)so they work the same essentiall13:53:51
@sternenseemann:systemli.orgsterni (he/him) * so they work the same essentially13:53:55
@sternenseemann:systemli.orgsterni (he/him)nixpkgs/trunk/unstable -> nixpkgs-unstable nixos/unstable-small/tested -> nixos-unstable-small nixos/trunk-combined/tested -> nixos-unstable13:54:31
@maralorn:maralorn.demaralorn sterni (he/him): My point is: all of haskellPackages is part of the aggregate jobset that needs to be finished for unstable to advance. 13:54:32
@sternenseemann:systemli.orgsterni (he/him)no?13:55:37
@sternenseemann:systemli.orgsterni (he/him)hypothetically as long as cachix is built, nixpkgs-unstable could advance without all of haskellPackages being built13:56:17
@sternenseemann:systemli.orgsterni (he/him)but with the inclusion of cachix in nixpkgs-unstable for example we effectively need to have build a significant portion of haskellPackages13:56:46
@sternenseemann:systemli.orgsterni (he/him)so I guess in a sense what you are saying is true13:56:55
@maralorn:maralorn.demaralorn

https://nixos.wiki/wiki/Nix_channels

For a channel update to succeed, two conditions need to be satisfied:

  • Particular jobset evaluation needs to be completely built ie. no more queued jobs, even if some jobs may fail
  • Particular jobset evaluation's tested/unstable job needs to be built succesfully

The jobset for nixos-unstable is nixos:trunk-combined which includes haskellPackages.
The tested job for nixos:trunk-combined does not include haskellPackages. But that matters only for successful builds.

13:57:17
@maralorn:maralorn.demaralorn
In reply to @sternenseemann:systemli.org
hypothetically as long as cachix is built, nixpkgs-unstable could advance without all of haskellPackages being built
No
13:57:33
@sternenseemann:systemli.orgsterni (he/him)hmm, okay then you are right13:57:57
@sternenseemann:systemli.orgsterni (he/him)nice that the wiki documents this I skimmed through a perl script in nix-channel-scripts earlier, but most have overlooked that check13:58:25
@maralorn:maralorn.demaralornSorry for being so insistent on this. But I think having that fact straight is helpful.^^13:59:10
@sternenseemann:systemli.orgsterni (he/him)but what are you trying to argue for? this means that nixpkgs-unstable blocks on all of haskellPackages being rebuilt, so this makes my argument even stronger13:59:19
@sternenseemann:systemli.orgsterni (he/him)remember, rebuilds that would involve rebuilding all of haskellPackages don't happen on master, they go via staging13:59:37
@maralorn:maralorn.demaralornI am not arguing for anything. I agree with your conclusion. I just wanted that we agree on the facts.13:59:54
@sternenseemann:systemli.orgsterni (he/him)oh all right14:00:01
@maralorn:maralorn.demaralornIs there a somehow predictable schedule to the staging-next merges? maybe we can try to avoid them?14:07:55
@sternenseemann:systemli.orgsterni (he/him)

The nixpkgs manual says on staging-next

Stabilize it for a few days and then merge into master.

14:13:15
@sternenseemann:systemli.orgsterni (he/him)so it is merged when it's deemed stable enough roughly14:13:27
@sternenseemann:systemli.orgsterni (he/him)I guess it takes ~ a week or so usually?14:13:54
@tristanc_:matrix.orgtristanC joined the room.14:42:39
@tfc:matrix.orgtfc joined the room.15:32:00
@infinisil:matrix.orginfinisil changed their profile picture.16:51:15

There are no newer messages yet.


Back to Room ListRoom Version: 6