!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

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

Load older messages


SenderMessageTime
13 Feb 2026
@b:chreekat.netchreekat(pre-generation would be another option)15:13:27
@maralorn:maralorn.demaralornI have optimised our work CI by making on hlint/ormulo check derivation per file. Without caching it is a bit slower but once the store is populated the speedup is significant.15:14:01
@maralorn:maralorn.demaralorn * 15:14:28
@toonn:matrix.orgtoonn chreekat: Isn't that what haskell.nix does? 15:16:18
@b:chreekat.netchreekatit doesn't use casa as far as I know.15:21:33
@toonn:matrix.orgtoonn No, re drv per Cabal component. Though that's not exactly what you said, I suppose. 15:22:20
@maralorn:maralorn.demaralornPer Cabal component and per source file is a big difference15:23:14
@b:chreekat.netchreekatYeah, and ironically per-component builds aren't my goal right now. My main goals are to make a tool that lets stack.yaml(.lock) be the source of truth for a nix build, that is also fast. I guess using casa is an orthogonal goal, but it feels right because casa is, or could be, a better solution than the all-cabal-hashes repo15:25:07
@b:chreekat.netchreekatit was sort of the next generation of "better interface to hackage" that fp complete was experimenting with. stack uses it, but besides that it sort of got trapped in amber as fpco moved away from haskell15:25:59
@b:chreekat.netchreekatwoo, the ginormous IFD fetch of all sources finally finished, it's compling shit now15:37:12
@me:linj.techlinjI am also interested in dyn drv. Could you share some learning materials of it?16:06:15
@b:chreekat.netchreekatwell, i don't really know of any. I myself am building this experiment in hopes of learning something about it16:47:19
@b:chreekat.netchreekat confession: i am using claude. But I'm minimizing the blast damage by compartmentalizing the steps and checking carefully all the parts I do understand 16:48:52
@alexfmpe:matrix.orgalexfmpe
In reply to @b:chreekat.net
as a sanity check, if a tool was introduced that created a drv for every source file of every haskell dependency of your haskell package, that would be unreasonable, right? Way too many drvs?
https://github.com/obsidiansystems/sandstone
17:04:11
@me:linj.techlinj tip: there are slides in the slides branch 17:51:34
@perigord:matrix.orgPerigord changed their profile picture.19:11:38
@alex:tunstall.xyzAlex It shouldn't be, but I think this is mostly a question of how efficiently Nix can handle derivations.
I suspect that there is little effort put into making them low overhead, given how little of Nixpkgs creates such small derivations.
19:41:09
@alexfmpe:matrix.orgalexfmpe summon John Ericson 19:49:32
@Ericson2314:matrix.orgJohn Ericsonhi20:18:57
@Ericson2314:matrix.orgJohn Ericsonsee sandstone20:19:17
@Ericson2314:matrix.orgJohn Ericsongit@github.com:obsidiansystems/sandstone.git20:19:36
@sigmanificient:matrix.orgSigmanificientthe summoning ritual worked :D20:19:37
@Ericson2314:matrix.orgJohn Ericson* https://github.com/obsidiansystems/sandstone20:19:52
@fpringle:matrix.orgfpringle joined the room.22:22:11
20 May 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".22:10:58
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".22:10:58
@grahamc:nixos.org@grahamc:nixos.org invited @maralorn:maralorn.demaralorn.22:11:05
@maralorn:maralorn.demaralorn joined the room.22:11:13
@andi:kack.itandi- joined the room.22:30:49
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.22:36:42

Show newer messages


Back to Room ListRoom Version: 6