!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

706 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 infrastructure139 Servers

Load older messages


SenderMessageTime
12 Apr 2026
@alexfmpe:matrix.orgalexfmpeSo the fix here is to PR those addFooToolDepends unconditionally yeah?21:52:39
@alexfmpe:matrix.orgalexfmpe(well, the non-upstream fix)21:53:42
@alexfmpe:matrix.orgalexfmpe* Ah, guess the hack masks the problem 21:54:22
@alexfmpe:matrix.orgalexfmpehttps://github.com/NixOS/nixpkgs/pull/50937123:41:54
13 Apr 2026
@sternenseemann:systemli.orgsterni
In reply to @alexfmpe:matrix.org
Ah, guess the hack masks the problem
the hack solves the problem, but in this case the package doesn’t declare the dependency at all
10:31:40
@sternenseemann:systemli.orgsterni
In reply to @alexfmpe:matrix.org
So the fix here is to PR those addFooToolDepends unconditionally yeah?
yes
10:31:48
14 Apr 2026
@ashinnv:matrix.orgM̸̙̜̔̇Ǎ̴͎̙͔G̸̞̈N̸͔͍̝͗͋̾Ő̷͖̼͈̽̚L̷̻͚̓̔I̷̛͔̰̟̔Å̴̩̍ ̷̦̒̇͝M̷̱̠̺̉̎A̵̼̎͗͘Ỹ̸̬̲͂̕H̷̙̖͂Ē̷͉̦̌͒M̶͈̥̽̐ Houston, we've had a Microsoft changed their display name from M̸̙̜̔̇Ǎ̴͎̙͔G̸̞̈N̸͔͍̝͗͋̾Ő̷͖̼͈̽̚L̷̻͚̓̔I̷̛͔̰̟̔Å̴̩̍ ̷̦̒̇͝M̷̱̠̺̉̎A̵̼̎͗͘Ỹ̸̬̲͂̕H̷̙̖͂Ē̷͉̦̌͒M̶͈̥̽̐ (you don't get my real name) to M̸̙̜̔̇Ǎ̴͎̙͔G̸̞̈N̸͔͍̝͗͋̾Ő̷͖̼͈̽̚L̷̻͚̓̔I̷̛͔̰̟̔Å̴̩̍ ̷̦̒̇͝M̷̱̠̺̉̎A̵̼̎͗͘Ỹ̸̬̲͂̕H̷̙̖͂Ē̷͉̦̌͒M̶͈̥̽̐ Houston, we've had a Microsoft.15:59:50
@alexfmpe:matrix.orgalexfmpe how can I turn on strictDeps by default on the package set? I'd like to locally build maintained or so against it to catch them all in one go 16:33:26
@alexfmpe:matrix.orgalexfmpeI mean, I can use my local nixpkgs config and all, but presumably we'd like to also enable the flag by default once fixed?16:34:03
@alexfmpe:matrix.orgalexfmpeah, I can jam it right in our call to mkDerivation16:50:14
@alexfmpe:matrix.orgalexfmpewhat's the actual command whose results https://github.com/cdepillabout/nix-haskell-updates-status is looking at?17:51:33
@alex:tunstall.xyzAlex

Curiously, I don't seem to have been pinged by those mentions. Perhaps because they are in the code and not the Git objects.

Microhs cross and musl Hugs being broken are things I was already aware of, so not really a big deal.

20:03:52
@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
17 Apr 2026
@stites:matrix.orgSam changed their display name from stites to Po.19:30:07
@stites:matrix.orgSam 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

There are no newer messages yet.


Back to Room ListRoom Version: 6