| 23 Feb 2025 |
alexfmpe | get = v: lib.hasInfix "jailbreak-cabal" v.postPatch;
set = x: v: v.overrideAttrs(_: _: { jailbreak = x; });
reset = set false;
| 00:26:23 |
alexfmpe | ok so it's building...511 packages, ouch
300 of which are amazonka ones | 00:28:58 |
alexfmpe | disabled their common jailbreak for this one-off run, but probably adding an explicit exception for them to the script given the volume | 00:35:29 |
alexfmpe | huh actually no, that seems to change the hash and cause a rebuild but not actually disable jailbreak | 01:37:35 |
alexfmpe | riiight I need overrideCabal instead
it only worked for doCheck since that's also an argument of mkDerivation | 01:44:21 |
| @linucifer:envs.net removed their profile picture. | 17:24:48 |
| @linucifer:envs.net removed their display name linucifer. | 17:24:54 |
| @linucifer:envs.net left the room. | 17:24:56 |
| John Wiegley set a profile picture. | 21:03:07 |
| 24 Feb 2025 |
| rein joined the room. | 15:28:58 |
| 25 Feb 2025 |
silky | does anyone know how to resolve this problem
> Configuring th-desugar-1.15...
> Error: [Cabal-8010]
> Encountered missing or private dependencies:
> template-haskell >=2.11 && <2.21, th-abstraction >=0.5 && <0.7
with th-desguar?
| 13:52:02 |
silky | as far as i can see the dependencies are listed in the derivation on nixpkgs | 13:52:17 |
silky | and they are in the relevant cabal file - https://github.com/goldfirere/th-desugar/blob/v1.15/th-desugar.cabal | 13:53:20 |
silky | 🤷 | 13:53:23 |
maralorn | silky: Problem is most likely that the version provided in nixpkgs does not match. | 13:54:23 |
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 |