| 3 Apr 2025 |
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 |
maralorn | * Possibly, yes | 20:14:57 |
hellwolf | > Encountered missing or private dependencies:
> old-locale >=1.0.0.2 && <1.1, time <1.13
> CallStack (from HasCallStack):
> dieWithException, called at libraries/Cabal/Cabal/src/Distribution/Simple/Configure.hs:1602:11 in Cabal-3.14.1.0-inplace:Distribution.Simple.Configure
Not sure how to fix this.
| 20:35:48 |
maralorn | In reply to @hellwolf:matrix.org
> Encountered missing or private dependencies:
> old-locale >=1.0.0.2 && <1.1, time <1.13
> CallStack (from HasCallStack):
> dieWithException, called at libraries/Cabal/Cabal/src/Distribution/Simple/Configure.hs:1602:11 in Cabal-3.14.1.0-inplace:Distribution.Simple.Configure
Not sure how to fix this.
Hard to say without context but that looks jailbreakable. Especially an upper bound on time is most likely harmless | 20:38:49 |
hellwolf | looks like no such package "haskellPackages.time" | 20:38:55 |
hellwolf | I thought I did it:
HTF = doJailbreak super.HTF; # old-locale >=1.0.0.2 && <1.1, time <1.13
| 20:39:25 |
hellwolf | oh, wrong package. let me fix. | 20:40:10 |
maralorn | In reply to @hellwolf:matrix.org looks like no such package "haskellPackages.time" time is bundled with ghc and thus has no own nix derivation | 20:41:08 |
hellwolf | cpphs = doJailbreak super.cpphs; # old-locale >=1.0.0.2 && <1.1, time <1.13
| 20:41:30 |
hellwolf | this didn't work. hmm | 20:41:36 |
hellwolf | https://paste.tomsmeding.com/iPiTvG7z | 20:43:38 |
| 4 Apr 2025 |
hellwolf | Coming back to this, any reason why I cannot jailbreak cpphs? | 07:43:15 |
Alex | In reply to @hellwolf:matrix.org Coming back to this, any reason why I cannot jailbreak cpphs? Does it use justStaticExecutables?
Is the problematic dependency conditional?
Is it a boot package? | 07:51:08 |
hellwolf | For full logs, run 'nix log /nix/store/kb0j5x1bs0p1h81j60s61habnxsjhvqm-cpphs-1.20.9.1.drv'.
error: 1 dependencies of derivation '/nix/store/avy1bn44is8mqjjvgv56kpwnix210587-HTF-0.15.0.2.drv' failed to build
error: 1 dependencies of derivation '/nix/store/7bkgrj0kzxdlj9r3d60rmvxx7srsjxpw-hlint-3.8.drv' failed to build
error: 1 dependencies of derivation '/nix/store/h1bl360r5fgnjirw366laa00k2cn3321-haskell-language-server-2.10.0.0.drv' failed to build
| 07:51:31 |
hellwolf | does that say anything to your questions, Alex? | 07:51:47 |
Alex | In reply to @hellwolf:matrix.org does that say anything to your questions, Alex? It says no to Q3, which is a good start. | 07:52:19 |