!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

724 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/ | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org145 Servers

Load older messages


SenderMessageTime
23 Feb 2025
@linucifer:envs.net@linucifer:envs.net left the room.17:24:56
@jwwiegley:matrix.orgJohn Wiegley set a profile picture.21:03:07
24 Feb 2025
@qxrein:matrix.orgrein joined the room.15:28:58
25 Feb 2025
@noonvandersilk:matrix.orgsilky

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
@noonvandersilk:matrix.orgsilky as far as i can see the dependencies are listed in the derivation on nixpkgs 13:52:17
@noonvandersilk:matrix.orgsilkyand they are in the relevant cabal file - https://github.com/goldfirere/th-desugar/blob/v1.15/th-desugar.cabal13:53:20
@noonvandersilk:matrix.orgsilky🤷13:53:23
@maralorn:maralorn.demaralorn silky: Problem is most likely that the version provided in nixpkgs does not match. 13:54:23
@noonvandersilk:matrix.orgsilkyyeah that's what i was starting to think ... :/13:54:40
@maralorn:maralorn.demaralornSolutions are: jailbreak/patch/override.13:55:07
@noonvandersilk:matrix.orgsilkytrue13:55:39
@maralorn:maralorn.demaralornIf 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
@noonvandersilk:matrix.orgsilkyi'm on unstable and ghc9101 ; i just tried jailbreak and it did not work 🥲🥲🥲13:57:25
@noonvandersilk:matrix.orgsilkylies, 24.11, not unstable.13:57:42
@noonvandersilk:matrix.orgsilky( trying unstable )13:58:03
@noonvandersilk:matrix.orgsilkyi guess it's not very promising if it doesn't even compile at all13:58:48
@noonvandersilk:matrix.orgsilkywhen jailbreaking13:58:53
@noonvandersilk:matrix.orgsilkyso maybe i could try jailbreaking whoever is depending on that old version13:59:06
@maralorn:maralorn.demaralorncurrently unstable and haskell-updates are also quite diverged.13:59:12
@noonvandersilk:matrix.orgsilky is haskell-updates a branch i should try instead? ( never done that 👀 ) 14:00:10
@maralorn:maralorn.demaralornAlso, there is currently even th-desuger 1.18, might make much more sense to try that.14:00:34
@maralorn:maralorn.demaralornIt’s generally not recommendet. But if you are lucky it might work in this case.14:01:03
@maralorn:maralorn.demaralornlemme check for you14:01:53
@noonvandersilk:matrix.orgsilkycheers; i'm trying too just waiting on a large rebuild i guess 😅14:03:04
@maralorn:maralorn.demaralornHuh, so the th-desugar in haskell-updates is 1.1614:03:58
@maralorn:maralorn.demaralornWhich does not claim to be compatible with ghc 9.10.14:04:17
@maralorn:maralorn.demaralornDoesn’t mean it can’t work, but it seems unlikely.14:04:38
@noonvandersilk:matrix.orgsilkytrue good point14:05:11
@noonvandersilk:matrix.orgsilkyi'm trying with 1.18 now14:05:15
@noonvandersilk:matrix.orgsilkytrying to see if that gave a different error14:05:22

Show newer messages


Back to Room ListRoom Version: 6