nixpkgs/nixos/modules/services/x11
sternenseemann 531ff521d4 nixos/xmonad: rename NIX_GHC env var to XMONAD_GHC
Upstream XMonad was using our xmonad patch file for their flake build to
support our nixos module. This would of course break the build upstream
if the version we patched and their master branch diverged. We
[discussed] that it'd make sense to upstream the environment var code.
In the process it seemed sensible to rename the NIX_GHC variable as
well, since it isn't really Nix-specific – it's just a way to set the
GHC binary to execute. This change has been [implemented] upstream in an
unreleased version of xmonad now – meaning we'll be able to drop the
xmonad patch soon!

This also clarifies the situation in nixpkgs a bit: NIX_GHC is easy to
confuse with the environment variable used in the ghcWithPackages
wrapper where it is used to set an alternative prefix for a GHC-wrapper
for applications trying to discover it via e.g. ghc-paths. It is an
implementation detail in this context, as it is in the case of the
xmonad module. Since they are different implementations doing different
things, different names also make sense.

[discussed]: 36d5761b3e
[implemented]: 23f36d7e23
2022-08-04 14:29:05 +02:00
..
desktop-managers treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
display-managers treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
hardware treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
window-managers nixos/xmonad: rename NIX_GHC env var to XMONAD_GHC 2022-08-04 14:29:05 +02:00
clight.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
colord.nix
extra-layouts.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
fractalart.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
gdk-pixbuf.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
imwheel.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
picom.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
redshift.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
terminal-server.nix utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
touchegg.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
unclutter-xfixes.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
unclutter.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
urserver.nix
urxvtd.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
xautolock.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
xbanish.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
xfs.conf
xfs.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
xserver.nix nixos/utils: move removePackagesByName to here from gnome 2022-04-11 15:42:49 +02:00