!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

743 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/ | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org147 Servers

Load older messages


SenderMessageTime
17 Apr 2026
@stites:matrix.orgstites changed their display name from stites to Po.19:30:07
@stites:matrix.orgstites changed their display name from Po to Sam.19:30:15
@potatoes.potatoes:matrix.orgPo joined the room.19:51:05
18 Apr 2026
@alexfmpe:matrix.orgalexfmpewe just crossed 7500 building packages, according to https://github.com/cdepillabout/nix-haskell-updates-status 20:46:17
@alexfmpe:matrix.orgalexfmpehit at same time as another milestone: https://github.com/NixOS/nixpkgs/pull/51122920:49:49
19 Apr 2026
@b:chreekat.netchreekatWhat is strictDeps?10:11:21
@alex:tunstall.xyzAlex According to the Nixpkgs manual, it enforces that dependencies are declared in the correct attribute, e.g. you can't put things that are needed at build time only in buildInputs. 11:12:23
@alex:tunstall.xyzAlexThe idea is to make it easier to ensure that more packages can be cross-compiled.11:13:18
@b:chreekat.netchreekatNice13:21:43
20 Apr 2026
@crtschin:matrix.orgcrtschin set a profile picture.08:52:00
@aforemny:matrix.org@aforemny:matrix.org left the room.09:39:10
21 Apr 2026
@rasmata:matrix.org@rasmata:matrix.org joined the room.07:16:18
@rasmata:matrix.org@rasmata:matrix.org left the room.07:16:21
22 Apr 2026
@haskell_currywurst:matrix.org@haskell_currywurst:matrix.org left the room.13:25:03
@enzuru:unredacted.orgenzu.ru joined the room.19:20:26
23 Apr 2026
@eldritchcookie:matrix.orgeldritchcookiedoes cabal-install + nix + build-tool-depends work for anyone? can you show me a minimal project that works? for some reason i can't compile my project with cabal-install without using its downloading features if i use a build-tool in build-tool-depends21:55:15
@alex:tunstall.xyzAlex I know for certain that build-tools can be made to work, but not specifically build-tool-depends.
Do any of these examples answer your question?
22:05:46
@eldritchcookie:matrix.orgeldritchcookiethe one package +preprocessing seems to use build-tool-depends how i want to use it22:27:42
@eldritchcookie:matrix.orgeldritchcookiei can't compile and i get a error similar to the one on my own project, so it is something with my ghc/cabal-install version?22:36:55
@eldritchcookie:matrix.orgeldritchcookiewhich version of cabal was used to compile this project?22:37:24
@eldritchcookie:matrix.orgeldritchcookiewait this is intended to be compiled only via nix?22:39:02
@m1-s:matrix.orgm1-sNot sure if this is the right place but I am looking for feedback for this cabal2nix PR: https://github.com/NixOS/cabal2nix/pull/71722:39:58
24 Apr 2026
@alexfmpe:matrix.orgalexfmpeit is the right place, though I think maintainer(s) of cabal2nix are currently swamped 10:23:52
@alexfmpe:matrix.orgalexfmpe m1-s: I don't understand what you're going for though 10:24:13
@alexfmpe:matrix.orgalexfmpeyou can build packages with multiple libraries just fine, here's an example with a ton of them: https://hackage-content.haskell.org/package/raaz-0.3.11/src/raaz.cabal10:25:57
@alexfmpe:matrix.orgalexfmpewhat you can't currently do, is differentiate between multiple components of the same type10:26:16
@alexfmpe:matrix.orgalexfmpeseems to me your PR differentiates between main-lib and other-libs, not between all libs10:26:42
@alexfmpe:matrix.orgalexfmpesomewhat related, ICYMI https://github.com/NixOS/cabal2nix/pull/709 https://github.com/NixOS/cabal2nix/pull/71610:27:09
@alexfmpe:matrix.orgalexfmpewell haskell.nix does allow this, but nixpkgs doesn't yet10:28:19
@alexfmpe:matrix.orgalexfmpe oh I misread, I see your subLibraryDepends is actually a map 10:29:18

Show newer messages


Back to Room ListRoom Version: 6