!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

744 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.org148 Servers

Load older messages


SenderMessageTime
26 May 2021
@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
@m:marvid.frSamæ joined the room.17:39:21
@jonge:ukvly.orgjonge joined the room.20:37:50
@simonmic:matrix.orgsm joined the room.22:52:28
27 May 2021
@cdepillabout:matrix.orgcdepillabout I read through the conversation above, and it sounds like there is consensus that we merge master into haskell-updates, wait for Hydra to rebuild everything, and then mergehaskell-updates into master. 00:55:59
@cdepillabout:matrix.orgcdepillabout Depending on how fast the rebuilds go, I might have to pass on the open haskell-updates to sterni (he/him) if the rebuilds don't finish in a day or two. 00:57:00
@sternenseemann:systemli.orgsterni (he/him)that's no problem00:57:20
@Las:matrix.orgLas joined the room.09:43:41
@konfou:matrix.orgkonfou joined the room.11:33:18
@stites:matrix.orgstites joined the room.23:25:29
28 May 2021
@zwro:matrix.orgzwro changed their display name from yin to zzz.00:23:43
@vk3wtf:matrix.orgjbedo joined the room.08:04:20
@vk3wtf:matrix.orgjbedo changed their display name from vk3wtf to jbedo.08:06:14
@cdepillabout:matrix.orgcdepillabout sterni (he/him): I'm going to pass the torch to you for the open haskell-updates PR. Hydra is being pretty slow with the darwin rebuilds. 08:58:58
@maralorn:maralorn.demaralornDo we need to care about darwin rebuilds? A few weeks ago we didn‘t even have a job for it. And nixos-unstable does not wait for darwin.09:00:14

Show newer messages


Back to Room ListRoom Version: 6