!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

745 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.org148 Servers

Load older messages


SenderMessageTime
14 Apr 2026
@alexfmpe:matrix.orgalexfmpe actually, what I want is exactly the list of successes of that build summary and build them all with strictDeps 23:22:54
@alexfmpe:matrix.orgalexfmpe ok got the .json from hydra-report, I'll jq something up 23:28:57
15 Apr 2026
@crop_tech:matrix.orgcrop joined the room.16:14:55
@crop_tech:matrix.orgcrop i want to use a tool packaged with cabal. the specification file is too strict to run with current haskel from nixpkgs.
i get the error that a library is not available but it is available just too new.
so i would like to loosen the bounds.
i did this by changing the cabal file and with this the program compiles.
i would prefer to not change the cabal file and loosen the condition somehow differently. is this possible with nix?
16:51:54
@alexfmpe:matrix.orgalexfmpe you can doJailbreak, e.g. https://github.com/NixOS/nixpkgs/blob/608994ab06334b0b4580aa3267a19f91c16bb613/pkgs/development/haskell-modules/configuration-common.nix#L2495 18:36:41
@alexfmpe:matrix.orgalexfmpethough long-term it's best to PR the cabal file modification to the tool 18:37:24
@alexfmpe:matrix.orgalexfmpe so you won't need to have a doJailbreak around 18:37:36
@alexfmpe:matrix.orgalexfmpe
$ jq '.[2] | map(select((.buildstatus == 0) and (.job | contains("haskellPackages") and (contains("pkgsCross") | not) and (contains("pkgsMusl") | not) and (contains("pkgsStatic") | not))) .job)' ~/.cache/haskell-updates-build-report.json | wc -l
7395
22:32:00
@alexfmpe:matrix.orgalexfmpe
$ jq '.[2] | map(select((.buildstatus == 0) and (.job | contains("haskellPackages") and (contains("pkgsCross") | not) and (contains("pkgsMusl") | not) and (contains("pkgsStatic") | not))) .job)' ~/.cache/haskell-updates-build-report.json | head -n 5
[
  "haskellPackages.AC-Angle.x86_64-linux",
  "haskellPackages.AC-Colour.x86_64-linux",
  "haskellPackages.AC-Boolean.x86_64-linux",
  "haskellPackages.AC-PPM.x86_64-linux",
22:32:13
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
Room Avatar Renderer.22:46:20
@maralorn:maralorn.demaralorn changed the join rule to "public" from "public".22:54:26
@maralorn:maralorn.demaralorn changed the room topic to "For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/" from "For discussions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/".22:56:19
@server_stats:nordgedanken.devServer Stats Discoverer (traveler bot) joined the room.23:05:49
@pennae:matrix.eno.spacepennae joined the room.23:06:26
@justinrestivo:matrix.orgjustinrestivo joined the room.23:07:39
@srid:matrix.orgsrid joined the room.23:07:41
@_xmpp_qy=40xa0.uk:matrix.orgbqv joined the room.23:08:26
@_xmpp_qy=40xa0.uk:matrix.orgbqv changed their display name from qy to bqv.23:08:27
@_xmpp_qy=40xa0.uk:matrix.orgbqv changed their display name from bqv to qy.23:08:28
@_xmpp_qy=40xa0.uk:matrix.orgbqv changed their display name from qy to bqv.23:08:29
@ryantm:matrix.orgryantm joined the room.23:18:05
@voyager:t2bot.ioMatrix Traveler (bot) joined the room.23:18:11
@sternenseemann:systemli.orgsterni (he/him) joined the room.23:18:19
@Ericson2314:matrix.orgJohn Ericson joined the room.23:20:08

Show newer messages


Back to Room ListRoom Version: 6