!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

You have reached the beginning of time (for this room).


SenderMessageTime
19 Oct 2025
@wolfgangwalther:matrix.org@wolfgangwalther:matrix.org

Would looking at the merge conflicts in https://github.com/NixOS/nixpkgs/pull/452254 help

These merge conflicts are artifacts of how the haskell-updates branch is set up and nothing to worry about. The will be resolved once we merge this PR into staging.

16:20:32
@wolfgangwalther:matrix.org@wolfgangwalther:matrix.orgWe are currently still on GHC 9.10 by default. I think it only really makes sense to look into this flag once we switch to GHC 9.12?16:21:38
@raboof:matrix.orgraboofyup, that PR just looked like WIP work that might get us closer towards that :)16:33:53
@raboof:matrix.orgraboofI noticed that we're packaging both .so and .a artifacts where Arch seems to only include the .so . Probably a naive question, but are we using those .a's? :)16:40:29
@raboof:matrix.orgraboof with https://github.com/NixOS/nixpkgs/commit/fffebd7398360d241c3e34f01af4813ef199e488 haskell.packages.ghc912.these seems deterministic, so that's promising! 17:03:16
@wolfgangwalther:matrix.org@wolfgangwalther:matrix.orgThat PR is just the regular update of haskellPackages. We track Stackage. Stackage LTS is currently on GHC 9.10.3. So when we upgrade to GHC 9.12 is mostly dependent on when Stackage updates. We just updated to GHC 9.10 recently, so it will still take a while. Ofc, we can enable this flag for GHC 9.12+ already - but we won't build the big majority of haskell packages with it, yet. And we won't have insights into whether it might cause build problems, because we don't build the full package set for GHC 9.12, yet.17:33:01
@raboof:matrix.orgraboofGotcha, makes sense17:56:09
@raboof:matrix.orgraboofit might be interesting to enable it by default for 9.12 - cache.nixos.org does appear to contain a bunch of packages.ghc912 packages (though it's not quite clear to me where they're built), so it might allow us to see build problems early20:18:58
20 Oct 2025
@peterbecich:matrix.orgPeter Becich

Would someone take a look at hls-cabal-plugin on NixPkgs?

Breakage reproducible on both master and haskell-updates:

NIXPKGS_ALLOW_BROKEN=1 nix build nixpkgs#haskellPackages.hls-cabal-plugin --impure 

NIXPKGS_ALLOW_BROKEN=1 nix build nixpkgs/haskell-updates#haskellPackages.hls-cabal-plugin --impure

I believe this is contributing to a breakage of Haskell Language Server

04:38:28
@maralorn:maralorn.demaralornNo, the standalone hls plugin packages are deprecated, they were moved into the hls package06:17:09
@peterbecich:matrix.orgPeter BecichThanks!06:19:50
@sternenseemann:systemli.orgsterni (he/him)
In reply to @raboof:matrix.org
with https://github.com/NixOS/nixpkgs/commit/fffebd7398360d241c3e34f01af4813ef199e488 haskell.packages.ghc912.these seems deterministic, so that's promising!
did you measure performance impact
06:59:59
@sternenseemann:systemli.orgsterni (he/him)
In reply to @raboof:matrix.org
I noticed that we're packaging both .so and .a artifacts where Arch seems to only include the .so . Probably a naive question, but are we using those .a's? :)
yes
07:00:18

Show newer messages


Back to Room ListRoom Version: 6