!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

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

Load older messages


SenderMessageTime
30 Sep 2025
@maralorn:maralorn.demaralornWell, nixpkgs can’t import outside nix dependencies.16:29:41
@mjolnir:nixos.orgNixOS Moderation Bot banned @mightyiam:matrix.org@mightyiam:matrix.org (divisive behavior.).19:22:11
1 Oct 2025
@eisfunke:eisfunke.com@eisfunke:eisfunke.com left the room.09:37:53
4 Oct 2025
@aidalgol:tchncs.de@aidalgol:tchncs.de left the room.00:51:28
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC) changed their profile picture.08:40:50
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC) changed their profile picture.08:41:21
@monadicflow:matrix.orgAkshay Sachdeva joined the room.15:10:14
7 Oct 2025
@sternenseemann:systemli.orgsterni (he/him) teo (they/he): https://discourse.nixos.org/t/removing-gold-from-nixpkgs/70496 09:54:43
@teoc:matrix.orgTeo (he/him)We don't really have a path forward here to use lld be default for Haskell other than to make stdenv use lld, right?10:12:45
@profpatsch:augsburg.oneProfpatsch> A naive rg gives us a place to start10:15:56
@profpatsch:augsburg.oneProfpatschHave GenZ really started saying rg instead of grepping? SAD10:16:09
@shapr:cofree.coffeeshaprI've forgotten how to use hackage libraries that aren't in stackage, is there a guide I can read to remind me how to do all the Haskell things with Nix?12:39:52
@alex:tunstall.xyzAlex
In reply to @shapr:cofree.coffee
I've forgotten how to use hackage libraries that aren't in stackage, is there a guide I can read to remind me how to do all the Haskell things with Nix?
They are just there unless they're really new.
12:41:11
@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

Show newer messages


Back to Room ListRoom Version: 6