Hi,

On Tue, Jul 19, 2022 at 11:45:11PM +0200, Alain Bertrand wrote:

{.quoteinitial}The only ouput I got is :

:$/bin/xmonad --recompile
XMonad will use stack ghc --stack-yaml "/home/alain/.config/xmonad/stack.yaml" to recompile.
XMonad recompiling (forced).
Errors detected while compiling xmonad config: /home/alain/.config/xmonad/xmonad.hs
$ stack build --silent --stack-yaml /home/alain/.config/xmonad/stack.yaml

Please check the file for errors.

This is admittedly somewhat confusing. Perhaps it'd be easier to understand if there was a "The error log follows" line somewhere, so we'll consider adding it. This is what it'd look like:

XMonad will use stack ghc --stack-yaml "/home/alain/.config/xmonad/stack.yaml" to recompile.  
XMonad recompiling (forced).  
Errors detected while compiling xmonad config: /home/alain/.config/xmonad/xmonad.hs  
The error log follows:  

$ stack build --silent --stack-yaml /home/alain/.config/xmonad/stack.yaml  

Please check the file for errors.  

This means stack build … failed, because it's the last command and there's no stack ghc … following it. Re-running it manually without --silent will hopefully reveal what's wrong.

--

Tomáš "liskin" ("Pivník") Janoušek, class="uri">https://lisk.in/