!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

717 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://nixos.org/manual/nixpkgs/unstable/#haskell | Current PR: https://github.com/nixos/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Ahaskell-updates | Maintainer Docs: https://github.com/NixOS/nixpkgs/blob/haskell-updates/pkgs/development/haskell-modules/HACKING.md | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org | Merger Schedule: https://cloud.maralorn.de/apps/calendar/p/H6migHmKX7xHoTFa/dayGridMonth/now | Join #haskell.nix:libera.chat for question about the alternative haskell.nix infrastructure142 Servers

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


SenderMessageTime
9 Oct 2025
@ivy:faggot.shivyis there a way to define arbitrary variables in a .cabal file that are maintained in the outputted 2nix07:16:05
@b:chreekat.netchreekatWell I know there are extension fields supported in .cabal files , but I don't know if cabal2nix knows or cares about them. (Extension fields are only documented in one place to my knowledge: https://cabal.readthedocs.io/en/stable/file-format-changelog.html#cabal-version-1-1-4)10:51:38
@sternenseemann:systemli.orgsterni
In reply to @ivy:faggot.sh
is there a way to define arbitrary variables in a .cabal file that are maintained in the outputted 2nix
no. (what for?)
12:33:02
@ivy:faggot.shivyokay ill add some and then add to cabal 2nix12:35:33
@ivy:faggot.shivyi want to track the verson of the karabiner driver in kmonad upstream12:36:07
@ivy:faggot.shivyill patch cabal2nix and do a pr for that for extension fields (i am very experienced with haskell)12:36:43
@ivy:faggot.shivyshould these x- fields be put into passthru or to the derivation itself12:41:22
@ivy:faggot.shivyi’m feeling passthru therefore i should write a passthru field to derivation adt12:42:05
@ivy:faggot.shivy idk what do yall think 12:42:18
@ivy:faggot.shivybut also could be cool to pass through to extra attributes12:45:48
@sternenseemann:systemli.orgsterniwell does kmonad even set these x-fields? would Hackage preserve them?13:05:49
@sternenseemann:systemli.orgsterniin principle seems like a feasible idea, passthru seems about right though x-revision should continue to be treated specially probably13:06:51

Show newer messages


Back to Room ListRoom Version: 6