[xmonad] Compile error

Brandon Allbery allbery.b at gmail.com
Mon Nov 21 15:33:38 UTC 2022


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



-- 
brandon s allbery kf8nh
allbery.b at gmail.com


More information about the xmonad mailing list