!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

709 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
30 Jul 2025
@bkl:matrix.orgdanaI need somethings from the https://github.com/NixOS/nixpkgs/pull/424162, which is now merged into staging. However, when I try to use it locally the caches aren't populated just yet, so I end up recompiling GHC. The caches are a bit confusing since staging or haskell-updates rev that I need don't have the cache, but it's not clear to me when are these changes going to end up in staging-next or master (which do have the caches). Slightly unrelated question: how do things get merged from staging to staging-next in general? Because the https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#staging says that there should be a manual PR. However, I don't see anything similar when I search for PRs from staging to staging-next: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+base%3Astaging-next+head%3Astaging+12:17:46
@bkl:matrix.orgdana* I need somethings from the https://github.com/NixOS/nixpkgs/pull/424162, which is now merged into staging. However, when I try to use it locally the caches aren't populated just yet, so I end up recompiling GHC. The caches are a bit confusing since staging or haskell-updates rev that I need don't have the cache, but it's not clear to me when are these changes going to end up in staging-next or master (which do have the caches). When do these changes usually propagate to master? Or what ref/rev should I take to get the caches earlier?      Slightly unrelated question: how do things get merged from staging to staging-next in general? Because the https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#staging says that there should be a manual PR. However, I don't see anything similar when I search for PRs from staging to staging-next: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+base%3Astaging-next+head%3Astaging+12:19:40
@maralorn:maralorn.demaralorn
In reply to @bkl:matrix.org
I need somethings from the https://github.com/NixOS/nixpkgs/pull/424162, which is now merged into staging. However, when I try to use it locally the caches aren't populated just yet, so I end up recompiling GHC. The caches are a bit confusing since staging or haskell-updates rev that I need don't have the cache, but it's not clear to me when are these changes going to end up in staging-next or master (which do have the caches).

Slightly unrelated question: how do things get merged from staging to staging-next in general? Because the https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#staging says that there should be a manual PR. However, I don't see anything similar when I search for PRs from staging to staging-next: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+base%3Astaging-next+head%3Astaging+
haskell-updates also gets cached, but there was a bag change today so you probably want a commit from a few days ago.
12:22:33
@maralorn:maralorn.demaralornhttps://hydra.nixos.org/jobset/nixpkgs/haskell-updates trick: pick the mentioned commit from the eval three days ago12:23:38
@bkl:matrix.orgdana
In reply to @maralorn:maralorn.de
haskell-updates also gets cached, but there was a bag change today so you probably want a commit from a few days ago.
Hmm, okay, thanks! I was trying to pull the last commit from the PR but it didn't have the cache.

What is a bag change?
12:23:48
@maralorn:maralorn.demaralornA big change typed on my stupid phone.12:24:23
@bkl:matrix.orgdanabig change - the default ghc upgrade from 429212?12:25:03
@maralorn:maralorn.demaralornRegarding staging-next I think that branch gets created fresh at some point the PR that you are looking for will be staging-next -> master.12:26:42
@maralorn:maralorn.demaralorn * 12:27:22
@qyliss:fairydust.spaceAlyssa RossIt never gets recreated — staging just gets merged into it when it's time for a new cycle.12:33:19
@bkl:matrix.orgdana
In reply to @qyliss:fairydust.space
It never gets recreated — staging just gets merged into it when it's time for a new cycle.
How can I find commits/PRs that correspond to this? 
12:35:33
@mrcjk:matrix.orgMarc Jakobi joined the room.12:37:24
@qyliss:fairydust.spaceAlyssa Ross git log --merges --grep="staging.*staging-next" origin/staging-next would probably be reasonably accurate 12:37:33
@qyliss:fairydust.spaceAlyssa RossNext staging-next won't be for at least a week, because we just started staging-next-25.0512:38:11
@bkl:matrix.orgdanaYou mean this one, right? https://github.com/NixOS/nixpkgs/pull/429274 And no more commits will be added to it, only fixes?12:41:14
@qyliss:fairydust.spaceAlyssa RossI think you're confused — you asked how to find merges of staging into staging-next. That's a PR to merge staging-next into master. New commits can still be added to it, as long as they don't cause mass rebuilds on Hydra.12:48:40
@bkl:matrix.orgdanaAh, I see. I guess I thought staging-next is created alongside a PR to release/master and only fixes are merged into it. Thanks!12:52:40
@qyliss:fairydust.spaceAlyssa RossStaging is merged into staging-next, and then a staging-next to master PR is opened. New commits can still be added to staging-next after that as long as they don't cause rebuilds, or, rarely, if the rebuilds are judged to be worth it.12:54:52
@dmjio:matrix.org@dmjio:matrix.org joined the room.18:06:36
31 Jul 2025
@cartocor:matrix.orgcartocor joined the room.08:41:04
@sammy:cherrykitten.devSammy (It/Its) left the room.09:47:03
@sternenseemann:systemli.orgsterni (he/him)First proper eval of Stackage LTS 24 / ghc 9.10.2 https://hydra.nixos.org/eval/1817278?compare=181717011:21:36
@kephaspierre:matrix.orgPierre Thierry I'm kephas on Github 13:51:39
1 Aug 2025
@lowtex:matrix.org_low_ changed their display name from low to _low_.21:06:04
2 Aug 2025
@magic_rb:matrix.redalder.orgmagic_rb is there a way to get a more minimal haskell bin out of nixpkgs? basic things end up being 3GB in closure size because they pull in GHC through primitive. I've yet to try static builds but that takes ages so isnt really scalable 10:37:25
@maralorn:maralorn.demaralorn @magic_rb:matrix.redalder.org: Have a look at justStaticExecutables in the nixpkgs manual. 11:17:00
@magic_rb:matrix.redalder.orgmagic_rbthanks11:18:12
@maralorn:maralorn.demaralornEven nicer but minimally more complicated ist enableSeparateBinOutput.11:19:16
@magic_rb:matrix.redalder.orgmagic_rboh my so much better11:21:32
@magic_rb:matrix.redalder.orgmagic_rb3GB to 64MB11:21:36

Show newer messages


Back to Room ListRoom Version: 6