1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +01:00

xmonad: document breakage of recompilation (#2024)

Co-authored-by: Markus Scherer <markus.f.scherer@gmail.com>
This commit is contained in:
Nicolas Berbiche 2021-06-22 20:36:47 -04:00 committed by GitHub
parent 762f860cfb
commit 49864a4370
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

View file

@ -2084,6 +2084,25 @@ in
A new module is available: 'programs.mangohud'.
'';
}
{
time = "2021-06-16T01:26:16+00:00";
message = ''
The xmonad module now compiles the configuration before
linking the binary to the place xmonad expects to find
the compiled configuration (the binary).
This breaks recompilation of xmonad (i.e. the 'q' binding or
'xmonad --recompile').
If this behavior is undesirable, do not use the
'xsession.windowManager.xmonad.config' option. Instead, set the
contents of the configuration file with
'home.file.".xmonad/config.hs".text = "content of the file"'
or 'home.file.".xmonad/config.hs".source = ./path-to-config'.
'';
}
];
};
}

View file

@ -73,6 +73,11 @@ in {
an absolute path or <literal>null</literal> in which case
<filename>~/.xmonad/xmonad.hs</filename> will not be managed
by Home Manager.
</para>
<para>
If this option is set to a non-<literal>null</literal> value,
recompilation of xmonad outside of Home Manager (e.g. via
<command>xmonad --recompile</command>) will fail.
'';
};