!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

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

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


SenderMessageTime
30 Oct 2025
@alexfmpe:matrix.orgalexfmpeanother option is building whatever deps your planned project has, plus a few dependency heavy hitters23:09:35
@alexfmpe:matrix.orgalexfmpeHLS alone has like 25023:09:39
@alexfmpe:matrix.orgalexfmpe
$ grep "callPackage" hackage-packages.nix | wc -l
18654
$ grep "broken = true" hackage-packages.nix | wc -l
7267

a few others won't eval because of platform but that still looks like around 10k that will at least attempt to build

23:12:01
31 Oct 2025
@alex:tunstall.xyzAlex
In reply to @alexfmpe:matrix.org
another option is building whatever deps your planned project has, plus a few dependency heavy hitters

It's much lighter if you only fetch all transitively required sources.

Though naturally, that means you need to build whatever you want to use.

01:56:46
2 Nov 2025
@amadaluzia:tchncs.deamadaluzia[tde] changed their display name from amadaluzia to ➡️@amadaluzia:unredacted.org.22:49:04
3 Nov 2025
@sternenseemann:systemli.orgsterniincredible https://github.com/Tritlo/duckdb-haskell/blob/main/duckdb-ffi/Setup.hs11:09:28
@maralorn:maralorn.demaralornWhat exactly? That this is not just using pkg-config?11:52:58
@teoc:matrix.orgTeo (he/him)At least it's not hard coding paths in the .cabal file11:56:03
@sternenseemann:systemli.orgsternithey search for the library and headers for no other reason than to fail with a “helpful” error message14:21:18
@sternenseemann:systemli.orgsternithis build may fail with Setup.hs and succeed if you delete it14:21:47
@collinarnett:matrix.orgCollin Arnett changed their profile picture.15:23:55
@locallycompact-github:matrix.orgDaniel FirthDoing a few benchmarks of GHC here. https://www.youtube.com/watch?v=kt2hM2uz8Hs21:13:09
@keypusher:matrix.orgkeypusherSay I have 2 flakes A and B that basically are just haskell packages. B depends on A. If I use nix, it's quite the roundtrip to update A and utilize those changes in B. Someone hinted it's possible to circumvent nix and easily get changes to A while in a nix develop shell for B. Makes sense? 21:45:30
@alex:tunstall.xyzAlex
In reply to @keypusher:matrix.org
Say I have 2 flakes A and B that basically are just haskell packages. B depends on A. If I use nix, it's quite the roundtrip to update A and utilize those changes in B. Someone hinted it's possible to circumvent nix and easily get changes to A while in a nix develop shell for B. Makes sense?
It's not entirely clear what you're asking or of what relevance Haskell or Nixpkgs are, but how about overriding flake B to use a different version of flake A?
21:47:41

Show newer messages


Back to Room ListRoom Version: 6