!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

702 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/140 Servers

Load older messages


SenderMessageTime
7 Oct 2025
@shapr:cofree.coffeeshapr I'm trying to use granite which might be really new? 12:41:42
@alex:tunstall.xyzAlex
In reply to @shapr:cofree.coffee
I'm trying to use granite which might be really new?
It's already in nixpkgs unstable (0.3.0.0).
12:46:28
@dandart:matrix.orgPeriWhat is this some kind of hipster find13:28:13
@shapr:cofree.coffeeshapr
In reply to @alex:tunstall.xyz
It's already in nixpkgs unstable (0.3.0.0).
thank you!
14:07:12
@shapr:cofree.coffeeshaprNext question, is there an easy way to use granite without running the failing test suite?14:23:14
@maralorn:maralorn.demaralornApply haskell.lib.compose.dontCheck to the granite package.14:26:13
@alunduil:matrix.orgalunduil changed their profile picture.23:11:51
8 Oct 2025
@sternenseemann:systemli.orgsterni (he/him)we can, it's just ugly18:20:49
@sternenseemann:systemli.orgsterni (he/him)at least we should be able to, I don't know how C++ will behave18:21:06
@sternenseemann:systemli.orgsterni (he/him) shapr: you can copy what we're doing here which will land in master soon hopefully https://github.com/NixOS/nixpkgs/pull/445213/commits/5ba41f20b22b393092a91ce44e414f70613917db 18:22:27
@sternenseemann:systemli.orgsterni (he/him)fd18:24:04
@sternenseemann:systemli.orgsterni (he/him)GHC 9.10.3 mini retroperspective: https://discourse.nixos.org/t/call-for-contributions-we-are-updating-to-ghc-9-10-3/67756/6?u=sternenseemann21:32:50
@sternenseemann:systemli.orgsterni (he/him)On reflection, 1 month + 20 days is at least a big improvement to compared to the 9.8 update, though it felt like it was taking forever this time, too. Excusable at least, given how busy some of us were and that we got unlucky with the text bug in 2.1.2.21:35:17
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 (he/him)
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.orgsterni (he/him)well does kmonad even set these x-fields? would Hackage preserve them?13:05:49
@sternenseemann:systemli.orgsterni (he/him)in principle seems like a feasible idea, passthru seems about right though x-revision should continue to be treated specially probably13:06:51
@sternenseemann:systemli.orgsterni (he/him)wonder what other x- fields exist in the wild13:07:13
@ivy:faggot.shivynot yet it does, i will make it tho13:10:16
@ivy:faggot.shivyafter i do that cabal2nix change ill do a run on hackage2nix and see what packages change13:10:48
@bananapoop:matrix.orgBanana Poop set a profile picture.14:49:06
@bananapoop:matrix.orgBanana Poop changed their profile picture.14:50:05

Show newer messages


Back to Room ListRoom Version: 6