| 3 Apr 2025 |
alexfmpe | I haven't gotten even 9.8 from cache on my mac on haskell-updates | 14:01:13 |
alexfmpe | * I haven't gotten even 9.8 from cache on my m1 mac on haskell-updates | 14:01:39 |
alexfmpe | * I haven't gotten even ghc 9.8 from cache on my m1 mac on haskell-updates | 14:02:11 |
maralorn | Well builds also need to succeed of course. | 14:21:22 |
maralorn | well compare pkgs/top-level/release.nix (ctrl+f haskell) with pkgs/top-level/release-haskell.nix | 14:26:42 |
Profpatsch | Is there a shortcut for building an executable with pre-set GHC RTS params? | 14:26:49 |
Profpatsch | In particular -Iw60 for small scripts to reduce the idle gc frequency | 14:27:04 |
maralorn | Yes, you can pass RTS flags to set by default to ghc. | 14:27:27 |
maralorn | e.g.: -with-rtsopts=-maxN2 | 14:28:01 |
maralorn | * e.g.: ghc-options: -threaded -with-rtsopts=-maxN2 | 14:28:28 |
Profpatsch | Ah you mean in the cabal file? | 14:28:43 |
Profpatsch | I guess that works | 14:28:46 |
maralorn | According to that we mainly build every ghc major release+hls on master and plenty more on haskell-updates. | 14:30:16 |
alexfmpe | Huh so the darwin build is probably failing is that it? | 14:42:16 |
maralorn | Oh, no. | 14:45:15 |
maralorn | I think because of reasons which I would largely summarize under "Apple" we currently don’t build for any darwin target on haskell-updates. 😄 | 14:45:53 |
maralorn | That was however a temporary mitigation for that fact that stuff was very fragged. I don’t know what would need to happen for us to re-enable them. | 14:47:05 |
Alex | In reply to @profpatsch:augsburg.one Ah you mean in the cabal file? The alternative, if you don't want to touch the Cabal file, is that you edit the cabal2nix output or override the package.
I think --ghc-options can be added to configureFlags? | 14:49:31 |
Profpatsch | cabal file is fine | 15:03:05 |
Las | In reply to @cdepillabout:matrix.org Maybe what you're thinking of is packageOverrides: https://haskell4nix.readthedocs.io/frequently-asked-questions.html#how-to-override-packages-in-all-compiler-specific-package-sets So I would set it in my overlay, right? | 15:40:53 |
Las | this is just what I wanted | 15:41:01 |
alexfmpe | In reply to @maralorn:maralorn.de I think because of reasons which I would largely summarize under "Apple" we currently don’t build for any darwin target on haskell-updates. 😄 Ah yeah that was my assumption | 16:56:00 |
hellwolf | error: attribute 'doctest_0_23_0' missing
at /nix/store/syfblaakf8gjh014zr3v0y6g72rcsipv-source/pkgs/development/haskell-modules/configuration-ghc-9.12.x.nix:80:13:
79|
80| doctest = self.doctest_0_23_0;
| ^
81|
Did you mean doctest_0_24_0?
when using haskell.packages.ghc912.haskell-language-server
| 20:00:18 |
hellwolf | patched locally, trying to build it now | 20:10:01 |
maralorn | Probably a good idea to do the recommended fix in nixpkgs. 😄 | 20:10:10 |
hellwolf | :) let's see if it builds, then I will send a PR | 20:10:42 |
hellwolf | fwiw,
`` $ git grep doctest_0_23_0 pkgs/development/haskell-modules/configuration-nix.nix: { inherit (super) doctest doctest_0_23_0; } pkgs/development/haskell-modules/configuration-nix.nix: doctest_0_23_0;
Does it mean, we would build with different doctest for different ghc versions?
| 20:11:14 |
hellwolf | * fwiw,
$ git grep doctest\_0\_23\_0
pkgs/development/haskell-modules/configuration-nix.nix: { inherit (super) doctest doctest\_0\_23\_0; }
pkgs/development/haskell-modules/configuration-nix.nix: doctest\_0\_23\_0;
Does it mean, we would build with different doctest for different ghc versions?
| 20:11:50 |
hellwolf | * fwiw,
$ git grep doctest\_0\_23\_0
pkgs/development/haskell-modules/configuration-nix.nix: { inherit (super) doctest doctest\_0\_23\_0; }
pkgs/development/haskell-modules/configuration-nix.nix: doctest\_0\_23\_0;
Does it mean, we would build with different doctest for different ghc versions?
| 20:11:54 |
maralorn | Possibly, yeas | 20:14:54 |