nixpkgs/pkgs/development/haskell-modules/patches
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
..
amazonka-Allow-http-client-0.6.patch
amazonka-core-Allow-http-client-0.6.patch
bloomfilter-fix-on-32bit.patch
cryptonite-remove-argon2.patch haskellPackages.cryptonite: Disable Argon2 on aarch64-darwin 2022-03-08 12:01:23 +01:00
darcs-2.14.2-Compile-against-GHC-8.8.patch
darcs-setup.patch
encoding-Cabal-2.0.patch
fix-dbus-for-ghc-8.10.x.patch
ghc-paths-nix-ghcjs.patch
ghc-paths-nix.patch
GLUT.patch
gogol-core-144.patch haskellPackages.gogol-core: unbreak 2021-10-21 15:23:30 +08:00
graphviz-hardcode-graphviz-store-path.patch haskellPackages.graphviz: hardcode references to graphviz tools 2021-11-08 23:11:06 +01:00
hunspell.patch
lambdabot-core-ghc9.patch lambdabot: apply patch to fix GHC 9 build 2022-03-22 15:58:52 +01:00
lambdabot-novelty-plugins-ghc9.patch lambdabot: apply patch to fix GHC 9 build 2022-03-22 15:58:52 +01:00
opencv-fix-116.patch
readline-fix-for-cabal-3.patch haskellPackages.readline: fix Setup.hs to work with Cabal 3 2021-08-16 11:03:08 +02:00
recursion-schemes-128.patch haskellPackages.recursion-schemes: Fix profiling objects 2021-10-18 21:23:25 +08:00
regex-compat-tdfa-ghc-9.0.patch haskellPackages.regex-compat-tdfa: fix build with GHC >= 9.0 2022-02-20 13:46:45 +01:00
SDL-image-darwin-hsc.patch haskellPackages.SDL-image: fix build on darwin 2021-08-06 14:39:22 +02:00
SDL-ttf-darwin-hsc.patch haskellPackages.SDL-ttf: fix build on darwin 2021-08-06 14:39:22 +02:00
servant-client-core-redact-auth-header.patch
sexpr-0.2.1.patch
xattr-fix-build.patch
xmonad_0_17_0-nix.patch nixos/xmonad: rename NIX_GHC env var to XMONAD_GHC 2022-08-04 14:29:05 +02:00