[xmonad] Compile error

Alain Bertrand alainbe at free.fr
Mon Nov 21 22:24:52 UTC 2022


Hi,

Thank you for the answers.

The culprit was in xmonad.

Best regards,

Alain


On 21/11/2022 16:33, Brandon Allbery wrote:
> That looks like you have an environment file hanging around somewhere.
> It'll be named something like `.ghc.environment.x86-64-linux-9.0.2`.
> You'll need to remove it, since it references a cabal store that no
> longer exists.
>
> On Mon, Nov 21, 2022 at 12:26 AM Alain Bertrand <alainbe at free.fr> wrote:
>> Hi all,
>>
>>
>> I am on a Debian sid system.  when I installed it, xmonad packages were
>> not installable so I compiled it myself. At a time, it became available,
>> I installed the package. A few days ago, I noticed that xmonad would not
>> recompile anymore. I removed all the stuff I had compiled by myself, but
>> still, it doesn't compile.
>>
>> -----------
>>
>> xmonad --recompile
>> XMonad will use ghc to recompile, because neither
>> "/home/alain/.config/xmonad/build" nor
>> "/home/alain/.config/xmonad/stack.yaml" exis
>> ts.
>> XMonad recompiling (forced).
>> Errors detected while compiling xmonad config:
>> /home/alain/.config/xmonad/xmonad.hs
>> $ ghc --make xmonad.hs -i -ilib -fforce-recomp -main-is main -v0
>> -outputdir /home/alain/.cache/xmonad/build-x86_64-linux -o /home/ala
>> in/.cache/xmonad/xmonad-x86_64-linux
>> ghc: can't find a package database at
>> /home/alain/.cabal/store/ghc-9.0.2/package.db
>>
>> Please check the file for errors.
>>
>> ---------
>>
>>
>> Thanks for your help.
>>
>>
>> Alain
>>
>> _______________________________________________
>> xmonad mailing list
>> xmonad at haskell.org
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
>
>



More information about the xmonad mailing list