!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

717 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://nixos.org/manual/nixpkgs/unstable/#haskell | Current PR: https://github.com/nixos/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Ahaskell-updates | Maintainer Docs: https://github.com/NixOS/nixpkgs/blob/haskell-updates/pkgs/development/haskell-modules/HACKING.md | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org | Merger Schedule: https://cloud.maralorn.de/apps/calendar/p/H6migHmKX7xHoTFa/dayGridMonth/now | Join #haskell.nix:libera.chat for question about the alternative haskell.nix infrastructure142 Servers

Load older messages


SenderMessageTime
25 May 2026
@dandart:matrix.orgEmberwill have to try this again soon23:11:45
26 May 2026
@alexfmpe:matrix.orgalexfmpeAh yeah jsaddle-warp didn't work on firefox06:25:25
@alexfmpe:matrix.orgalexfmpeI think it's supposed to work nowadays?06:25:44
@phanirithvij:matrix.orgphanirithvij changed their display name from loudgolem to phanirithvij.11:40:40
@sternenseemann:systemli.orgsterniThe question is of course what to do about master which is going to become 26.05. We've patched some packages so they work with the deprecated Hakyll version, but it's probably annoying to ship it.16:50:08
@sternenseemann:systemli.orgsterniNot sure which way to go is easier though, probably reverting the update16:50:17
@artem.types:matrix.orgArtemnot an expert, but for me personally reverting makes the most sense 18:50:21
28 May 2026
@ashinnv:matrix.orgmagnolia_mayhem changed their display name from Mr Mayhem's Dumbass Labradoodle to magnolia_mayhem.04:48:27
@monadicflow:matrix.orgAkshay Sachdeva set a profile picture.05:30:26
@alexfmpe:matrix.orgalexfmpeHuh, am I very confused or are we doing builds without optimization? GHC manual says -O0 is the default and I don't see -O1 being set in https://downloads.haskell.org/ghc/latest/docs/users_guide/flags.html#optimisation-levels10:40:21
@alexfmpe:matrix.orgalexfmpeSurely that can't be the case?10:40:34
@alexfmpe:matrix.orgalexfmpeHmm cabal itself seems to default to -O1 10:41:47
@alexfmpe:matrix.orgalexfmpeSo our cabal v1 builder must be using that10:42:12
29 May 2026
@lassulus:lassul.uslassulus changed their profile picture.07:06:19
@sternenseemann:systemli.orgsterni Alex: https://hydra.nixos.org/build/329119235/nixlog/2 10:48:51
@alex:tunstall.xyzAlexWas that the result of a Hackage bump?11:01:36
@alex:tunstall.xyzAlexOk, found the commit (it was).11:04:03
@alexfmpe:matrix.orgalexfmpe
In reply to @alexfmpe:matrix.org
Hmm cabal itself seems to default to -O1
Actually... would it make sense for us to use -O2 by default?
17:01:12
@alexfmpe:matrix.orgalexfmpeI'm not sure exactly how much that slowdowns compilation and don't know the benefit for cpu/memory what with ghc not doing whole-program optimization, but it might also decrease binary size which is a win on nixpkgs, hydra etc?17:03:28
@alexfmpe:matrix.orgalexfmpewonder if just building cabal itself with -O2 would make compiling everything else faster enough that it pays for itself17:04:52
@teoc:matrix.orgteo (they/he)Often -O2 is not worth it17:07:52
@teoc:matrix.orgteo (they/he)It's the sort of thing that should be benchmarked on a case by case basis17:08:41
@teoc:matrix.orgteo (they/he)Redacted or Malformed Event17:08:42
31 May 2026
@whispers:catgirl.cloudwhispers [& it/fae] hii! i have a procedural haskellPackages question. i have a few packages i'd eventually like to mark broken (haskellPackages.gi-soup2, haskellPackages.spike) because they depend on the libsoup_2_4, and i'd like to get rid of that (not yet, but planning to look into it soon). the dependency is defined in hackage-packages.nix, but aiui that's not something you're supposed to touch directly. where in nixpkgs would i (a) drop the dependency on the system library so that we don't get eval failures, and (b) mark it as broken? i'm looking through the manual and haskell-modules/HACKING.md but can't find anything that seems immediately relevant 01:35:33
@whispers:catgirl.cloudwhispers [& it/fae] hii! i have a procedural haskellPackages question. i have a few packages i'd eventually like to mark broken (haskellPackages.gi-soup2, haskellPackages.spike) because they depend on the libsoup_2_4 derivation, and i'd like to get rid of that (not yet, but planning to look into it soon). the dependency is defined in hackage-packages.nix, but aiui that's not something you're supposed to touch directly. where in nixpkgs would i (a) drop the dependency on the system library so that we don't get eval failures, and (b) mark it as broken? i'm looking through the manual and haskell-modules/HACKING.md but can't find anything that seems immediately relevant 02:02:58
@alexfmpe:matrix.orgalexfmpeprobably https://github.com/NixOS/nixpkgs/blob/haskell-updates/pkgs/development/haskell-modules/configuration-common.nix 13:33:21
@alexfmpe:matrix.orgalexfmpeor configuration-nix.nix, if it's due to nix(pkgs) specific reasons, rather than general distro things13:34:19
@sternenseemann:systemli.orgsterniif the library is removed, the dependency will also be removed on the next regeneration.14:03:46
@sternenseemann:systemli.orgsternilibs can be marked broken in the generator's configuration14:04:37
@aiya:catgirl.cloudaiyaRedacted or Malformed Event17:44:16

Show newer messages


Back to Room ListRoom Version: 6