Merge pull request #143886 from Julow/xmonad-large-closure

This commit is contained in:
Sandro 2021-11-22 16:26:25 +01:00 committed by GitHub
commit 4eb8b9decd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,6 @@ let
} ''
install -D ${xmonadEnv}/share/man/man1/xmonad.1.gz $out/share/man/man1/xmonad.1.gz
makeWrapper ${configured}/bin/xmonad $out/bin/xmonad \
--set NIX_GHC "${xmonadEnv}/bin/ghc" \
--set XMONAD_XMESSAGE "${pkgs.xorg.xmessage}/bin/xmessage"
'';
@ -93,6 +92,8 @@ in {
<literal>(restart "xmonad" True)</literal> instead, which will just restart
xmonad from PATH. This allows e.g. switching to the new xmonad binary
after rebuilding your system with nixos-rebuild.
For the same reason, ghc is not added to the environment when this
option is set.
If you actually want to run xmonad with a config specified here, but
also be able to recompile and restart it from a copy of that source in