diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-11-22 16:26:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-22 16:26:25 +0100 |
commit | 4eb8b9decd26fea6d1564736b56e3bd71e882cf1 (patch) | |
tree | a3fb6b98ab96fdc76195a5a8265d65084b19cb45 /nixos | |
parent | 338bf1f1b2e2c37b9c99b1f134486a0894cf1efa (diff) | |
parent | b69d9d3c23311ce8b8512a7032600a5f8d1595ca (diff) |
Merge pull request #143886 from Julow/xmonad-large-closure
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/x11/window-managers/xmonad.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/window-managers/xmonad.nix b/nixos/modules/services/x11/window-managers/xmonad.nix index 6aa0d5f76f264..a8f38046137a6 100644 --- a/nixos/modules/services/x11/window-managers/xmonad.nix +++ b/nixos/modules/services/x11/window-managers/xmonad.nix @@ -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 |