| 25 Feb 2025 |
silky | yeah that's what i was starting to think ... :/ | 13:54:40 |
maralorn | Solutions are: jailbreak/patch/override. | 13:55:07 |
silky | true | 13:55:39 |
maralorn | If you give me more context: i.e. ghc version and nixpkgs branch you are using I can tell which I assume is most likely to work. | 13:56:22 |
silky | i'm on unstable and ghc9101 ; i just tried jailbreak and it did not work π₯²π₯²π₯² | 13:57:25 |
silky | lies, 24.11, not unstable. | 13:57:42 |
silky | ( trying unstable ) | 13:58:03 |
silky | i guess it's not very promising if it doesn't even compile at all | 13:58:48 |
silky | when jailbreaking | 13:58:53 |
silky | so maybe i could try jailbreaking whoever is depending on that old version | 13:59:06 |
maralorn | currently unstable and haskell-updates are also quite diverged. | 13:59:12 |
silky | is haskell-updates a branch i should try instead? ( never done that π ) | 14:00:10 |
maralorn | Also, there is currently even th-desuger 1.18, might make much more sense to try that. | 14:00:34 |
maralorn | Itβs generally not recommendet. But if you are lucky it might work in this case. | 14:01:03 |
maralorn | lemme check for you | 14:01:53 |
silky | cheers; i'm trying too just waiting on a large rebuild i guess π
| 14:03:04 |
maralorn | Huh, so the th-desugar in haskell-updates is 1.16 | 14:03:58 |
maralorn | Which does not claim to be compatible with ghc 9.10. | 14:04:17 |
maralorn | Doesnβt mean it canβt work, but it seems unlikely. | 14:04:38 |
silky | true good point | 14:05:11 |
silky | i'm trying with 1.18 now | 14:05:15 |
silky | trying to see if that gave a different error | 14:05:22 |
maralorn | So you either need to manually use a newer th-desugar version or an older ghc. Because template-haskell is fix coupled with ghc and and th-sugar is probably tightly coupled with template-haskell (although the later is just a guess.) | 14:05:54 |
silky | thank you for the help | 14:40:31 |
silky | i think i got it in the end | 14:40:35 |
silky | by just bumping a bunch of singleton-related versions | 14:40:43 |
silky | ah so close | 15:50:57 |
silky | entered some sadness with ghc-wasm:
Error: [Cabal-7125]
Failed to build singletons-base-3.4 (which is required by ...). The failure occurred during the configure step. The exception was:
/home/noon/.ghc-wasm/.cabal/logs/ghc-9.10.1.20250207/singletons-base-3.4-f3aa7555e520c8470979569ce097df6af6508fd93104b96da2ec393093efd4b0.log: withFile: user error (Error: cabal:
'/nix/store/ydi7xc4mpplmbwpb4v72wyqmsq8fcdga-wasm32-wasi-ghc-9.10/bin/wasm32-wasi-ghc'
exited with an error:
wasm-ld: error: unable to find library -lHSrts-1.0.2_thr
| 15:51:29 |
silky | interesting - https://discourse.haskell.org/t/issue-compiling-cabal-library-to-wasm/10073/2?u=silky | 15:52:20 |
silky | why is it always singletons it seems π
π
π
π
| 15:53:01 |