!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.org149 Servers

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


SenderMessageTime
18 Sep 2025
@mequbic:matrix.orgiqubic (she/her) Nevermind... I'm a moron. Looking at the code in Nixpkgs, with_alsa is a default flag for this package. 19:20:34
19 Sep 2025
@bglgwyng:matrix.orgbglgwyng I found that plan.josn doesn't contain .cabal's default-extensions information. Doesn't it indicate that it's not possible to reproduce cabal build only with plan.json + ghc? 08:22:36
@sternenseemann:systemli.orgsterni (he/him) iqubic (she/her): otherwise haskell.lib.compose.enableCabalFlag would be the answer. 10:21:39
@sternenseemann:systemli.orgsterni (he/him) bglgwyng: yes and there are also other tasks that Cabal needs to do which is required for some packages to work 10:23:00
@sternenseemann:systemli.orgsterni (he/him)e.g. autogen-modules. I don't know if there are even more basic things Cabal needs to do, not really familiar with the details10:23:45
@bglgwyng:matrix.orgbglgwyng it seems generic-builder runs Setup.hs to build cabal packages. 11:00:03
@bglgwyng:matrix.orgbglgwyng Do we have modificatino related to ghcWithPacakges between nixpkgs/nixos-25.05 and nixpkgs/HEAD? With nixos-25.05, I found ghcWithPackages builds two random packages with the same version, but with HEAD, it doesnt'. 11:09:43
@bglgwyng:matrix.orgbglgwyng * Do we have modificatino related to ghcWithPacakges between nixpkgs/nixos-25.05 and nixpkgs/HEAD? With nixos-25.05, I found ghcWithPackages builds two random packages with the same version, but with HEAD, it builds only one. 11:11:42
@maralorn:maralorn.demaralornI mean it’s generally much more likely that this is to due to differences in a specific package. But I remember vaguely that we merged something related to ghcWithPackages in the last months.11:12:26
@bglgwyng:matrix.orgbglgwyngCould you share the commit ref please? I want to compare before and after.11:13:43
@maralorn:maralorn.demaralornHuh, er maybe we didn’t merge it and it was just a PR.11:13:50
@bglgwyng:matrix.orgbglgwyngHm... then now I am going to start binary search over then lol11:14:20
@maralorn:maralorn.demaralornHuh, I can’t find anything that makes sense.11:16:13
@maralorn:maralorn.demaralornCould be d3e4f784aa1bb95ad8a13cadc7073e6617658f2f, but seems highly unlikely.11:16:32

Show newer messages


Back to Room ListRoom Version: 6