!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/143 Servers

Load older messages


SenderMessageTime
21 Dec 2025
@ashinnv:matrix.orgDr Mayhem, esq changed their display name from Magnolia Mayhem to Mr Mayhem.20:57:53
22 Dec 2025
@cinerealkiara:matrix.org@cinerealkiara:matrix.org left the room.13:12:27
@amadaluzia:tchncs.deamadaluzia[tde] changed their display name from ➡️@amadaluzia:unredacted.org to amadALTuzia (tchncs.de).16:11:31
@amadaluzia:tchncs.deamadaluzia[tde] changed their display name from amadALTuzia (tchncs.de) to amadaluzia[tde].17:30:15
@magic_rb:matrix.redalder.orgmagic_rb how can i pass -Werror only in a Nix build? dont see a ghcFlags 21:54:45
@magic_rb:matrix.redalder.orgmagic_rb and buildFlags doesn't work 21:54:58
@maralorn:maralorn.demaralorn magic_rb: example here: https://github.com/maralorn/nix-output-monitor/blob/9a32f32f807a4f7bc97d95606465243f293650fe/flake.nix#L50 22:08:31
@magic_rb:matrix.redalder.orgmagic_rbThanks, i didnt think of passing it through cabal :D22:18:15
@maralorn:maralorn.demaralornI have no clue if this is the smartes solution.22:19:27
@magic_rb:matrix.redalder.orgmagic_rbHey if it works it works22:24:37
@magic_rb:matrix.redalder.orgmagic_rb It definitely wont be the dumbest/worst piece of the nix in the repo i want to put it in. I wrote that repos initial version years ago and boy was i an idiot 22:25:22
23 Dec 2025
@b:chreekat.netchreekatFun cabal fact: there's also a --ghc-options flag (with an s). Lets you put multiple, space separated ghc options in one go04:59:59
@magic_rb:matrix.redalder.orgmagic_rb the deps for microlens-mtl_0_2_1_1 are wrong, it pulls in microlens but it needs microlens_0_5_0_0 11:27:22
@alex:tunstall.xyzAlex
In reply to @magic_rb:matrix.redalder.org
the deps for microlens-mtl_0_2_1_1 are wrong, it pulls in microlens but it needs microlens_0_5_0_0
Nixpkgs does not do dependency solving.
Try overriding the haskell package set (see the Haskell section of the Nixpkgs manual).
15:33:07
@magic_rb:matrix.redalder.orgmagic_rbYeah i just overrode it manually for the deps, just kinda weird15:34:40
@magic_rb:matrix.redalder.orgmagic_rbThe versioned packages exist, but they dont depend on yeah other15:35:03
@b:chreekat.netchreekatI believe that all the versioned packages are just there because they can be with no guarantees17:06:45
@b:chreekat.netchreekat * 17:06:57
@magic_rb:matrix.redalder.orgmagic_rbFair fair, thought it was an oversight :)17:35:00
26 Dec 2025
@magthe:tchncs.deMagnusDid `ghc9103` get dropped from 25.11? Only the native-bignum variant is present still.16:03:58
@magthe:tchncs.deMagnusSomehow `ghc910` is listed as version 9.10.3 still though.16:11:13
@emilazy:matrix.orgemilyisn't that because GMP or whatever was removed upstream?16:11:14
@emilazy:matrix.orgemily ah, no, that was integer-simple 16:11:52
@emilazy:matrix.orgemily9.10.3 looks there to me https://github.com/NixOS/nixpkgs/blob/nixos-25.11/pkgs/top-level/haskell-packages.nix16:12:02
@magthe:tchncs.deMagnusI don't see it at https://search.nixos.org/packages?channel=25.11&query=ghc91016:16:51
@emilazy:matrix.orgemily it's just being deduplicated with haskell.compiler.ghc910 pretty sure. search is weird. 16:18:03
@emilazy:matrix.orgemilythe minor version attributes aren't very supported AIUI16:18:10
@emilazy:matrix.orgemilyer, the patch version ones that is16:18:14
@emilazy:matrix.orgemily you should say ghc910 rather than ghc9103 16:18:22
@magthe:tchncs.deMagnusIt's just than when doing overrides it's really nice to specify the exact version. Especially when we've in the past have been using several different minor versions in different projects that all share a common overlay.16:20:38

Show newer messages


Back to Room ListRoom Version: 6