!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

728 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.org146 Servers

Load older messages


SenderMessageTime
26 May 2021
@sternenseemann:systemli.orgsterni (he/him) To sum my position up: We need to be sure that merging haskell-updates into master is safe, i. e. doesn't cause over 500 actual rebuilds and doesn't cause any build failures we are not aware of. The only way to be sure those things are not the case is having built the entire haskell-updates jobset on hydra with a reasonably freshly merged master 13:34:33
@maralorn:maralorn.demaralorn
In reply to @sternenseemann:systemli.org
Domen Kožar: on a related note we should probably add you to the maintainer list for your haskell packages
Yes, please! Avoiding future cachix disasters was one of the primary "user stories" while we were designing our new process with timely maintainer pings.
13:44:34
@maralorn:maralorn.demaralorn
In reply to @sternenseemann:systemli.org
Domen Kožar: on a related note we should probably add you to the maintainer list for your haskell packages
* Yes, please! Avoiding future cachix disasters was one of the primary "user stories" I had in mind while we were designing our new process with timely maintainer pings.
13:44:59
@joe:monoid.aljoe (he/him)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 packages13:48:46
@joe:monoid.aljoe (he/him)For some reason I was missing as a maintainer for my packages until recently13:49:00
@maralorn:maralorn.demaralorn
In reply to @sternenseemann:systemli.org
the channel will advance when all constituents of a certain aggregate job are built not when all of nixpkgs is built
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?
13:49:02
@sternenseemann:systemli.orgsterni (he/him)
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
being a maintainer should be very much an opt in
13:49:36
@joe:monoid.aljoe (he/him)
In reply to @sternenseemann:systemli.org
being a maintainer should be very much an opt in
Of course :) This PR would be gated on that person's consent
13:50:01
@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

Show newer messages


Back to Room ListRoom Version: 6