!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

756 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.org150 Servers

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


SenderMessageTime
28 Jan 2026
@locallycompact-github:matrix.orgDaniel FirthHey guys. We're looking at trying to include the cardano-node in nixpkgs. I'm thinking of ways to do this and obviously since it involves CHaP and also significantly deviates from stackage just on the hackage dependencies I'm wondering if you have any thoughts on what you would accept as a way to this.11:35:25
@locallycompact-github:matrix.orgDaniel Firth* Hey guys. We're looking at trying to include the cardano-node in nixpkgs. I'm thinking of ways to do this and obviously since it involves CHaP and also significantly deviates from stackage just on the hackage dependencies I'm wondering if you have any thoughts on what you would accept as a way to do this.11:35:37
@maralorn:maralorn.demaralornWhat’s CHaP?11:39:30
@maralorn:maralorn.demaralornI am pretty sure there are examples on how to package non-hackage packages in nixpkgs.11:40:13
@maralorn:maralorn.demaralornIncluding some with a non-neglectable number of overrides.11:40:47
@maralorn:maralorn.demaralornActually I think even cachix does it.11:41:01
@dermetfan:matrix.orgRobin Stumm joined the room.11:48:38
@dermetfan:matrix.orgRobin Stummhttps://github.com/IntersectMBO/cardano-haskell-packages11:49:23
@locallycompact-github:matrix.orgDaniel FirthWe could be looking at more than 50% of the build plan would be custom, so 300 or more packages.11:52:13
@maralorn:maralorn.demaralornOooh.11:54:09
@maralorn:maralorn.demaralornI mean I wonder how large that would be in comparison to other large derivation packages in nixpkgs. Like those with a checked in npm or cargo lock.11:55:36
@locallycompact-github:matrix.orgDaniel Firth

It would be more or less exactly the same size as the equivalent horizon expression here. https://gitlab.horizon-haskell.net/package-sets/horizon-cardano

nix build 'git+https://gitlab.horizon-haskell.net/package-sets/horizon-cardano#horizon-cardano'

11:57:33

Show newer messages


Back to Room ListRoom Version: 6