!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
14 Aug 2025
@artem.types:matrix.orgArtemthere must be examples somewhere but I'm not very good at finding the minimal one. I see overrideSrc and overrideCabal but both look a bitt low level15:10:01
@artem.types:matrix.orgArtem I'm guessing the versions are specified in configuration-hackage2nix/main.yml 15:23:38
@artem.types:matrix.orgArtemit says "# This is a list of packages with versions from the latest Stackage LTS release." sadly, it doesn't explicitly say if I can add packages outside of LTS in there15:24:56
@artem.types:matrix.orgArtembut the name of its "extra-packages" field suggested that it's the right place15:25:47
@maralorn:maralorn.demaralornThere is stackage.yaml file, which is auto generated.15:25:57
@artem.types:matrix.orgArtemI don't need that one for adding a non-stackage package, right?15:26:50
@maralorn:maralorn.demaralornYeah.15:27:18
@maralorn:maralorn.demaralornThen there is extra-packages which gives additional versioned attributes.15:28:14
@artem.types:matrix.orgArtem my slight worry about configuration-hackage2nix/main.yml#extra-packages is that every package on that list has a comment saying why it's there, and it's very specific. This makes me question that it's the right place. Unless I'm expected to say "# it's a cool package not on Stakage, but I want it in nixpkgs"... 15:28:24
@maralorn:maralorn.demaralornAnd default-package-overrides which modifies which version the default attribute has.15:29:17
@artem.types:matrix.orgArtembut adding a package not from Stackage is shouldn't overide anything, so this field isn't applicable, right?15:31:41
@artem.types:matrix.orgArtem* but adding a package not from Stackage shouldn't overide anything, so this field isn't applicable, right?15:31:48
@artem.types:matrix.orgArtem* but adding a package not from Stackage shouldn't override anything, so this field isn't applicable, right?15:31:52

Show newer messages


Back to Room ListRoom Version: 6