haskellPackages.llvmPackages: drop

There’s no sensible notion of a Haskell package set’s LLVM, only a
GHC’s LLVM. `haskellPackages.ghc.llvmPackages` is still accessible,
although you probably don’t actually want to use it very often.

Co-authored-by: sternenseemann <sternenseemann@systemli.org>

Emily 921f5db2 fab98a0d

-2
pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
···
self: super: {
-
llvmPackages = pkgs.lib.dontRecurseIntoAttrs self.ghc.llvmPackages;
-
# Disable GHC 9.0.x core libraries.
array = null;
base = null;
-2
pkgs/development/haskell-modules/configuration-ghc-9.10.x.nix
···
in
{
-
llvmPackages = lib.dontRecurseIntoAttrs self.ghc.llvmPackages;
-
# Disable GHC core libraries
array = null;
base = null;
-2
pkgs/development/haskell-modules/configuration-ghc-9.12.x.nix
···
with haskellLib;
{
-
llvmPackages = lib.dontRecurseIntoAttrs self.ghc.llvmPackages;
-
# Disable GHC core libraries
array = null;
base = null;
-2
pkgs/development/haskell-modules/configuration-ghc-9.14.x.nix
···
in
self: super: {
-
llvmPackages = lib.dontRecurseIntoAttrs self.ghc.llvmPackages;
-
# Disable GHC core libraries
array = null;
base = null;
-2
pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix
···
self: super: {
-
llvmPackages = pkgs.lib.dontRecurseIntoAttrs self.ghc.llvmPackages;
-
# Disable GHC 9.2.x core libraries.
array = null;
base = null;
-2
pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix
···
with haskellLib;
self: super: {
-
llvmPackages = lib.dontRecurseIntoAttrs self.ghc.llvmPackages;
-
# Disable GHC core libraries.
array = null;
base = null;
-2
pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix
···
in
{
-
llvmPackages = lib.dontRecurseIntoAttrs self.ghc.llvmPackages;
-
# Disable GHC core libraries
array = null;
base = null;
-2
pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix
···
{
-
llvmPackages = pkgs.lib.dontRecurseIntoAttrs self.ghc.llvmPackages;
-
# Disable GHC core libraries.
array = null;
base = null;
+1 -1
pkgs/development/haskell-modules/make-package-set.nix
···
*/
forceLlvmCodegenBackend = overrideCabal (drv: {
configureFlags = drv.configureFlags or [ ] ++ [ "--ghc-option=-fllvm" ];
-
buildTools = drv.buildTools or [ ] ++ [ self.llvmPackages.llvm ];
+
buildTools = drv.buildTools or [ ] ++ [ self.ghc.llvmPackages.llvm ];
});
}
+2 -2
pkgs/development/haskell-modules/with-packages-wrapper.nix
···
# fi
let
-
inherit (haskellPackages) llvmPackages ghc;
+
inherit (haskellPackages) ghc;
hoogleWithPackages' = if withHoogle then hoogleWithPackages selectPackages else null;
···
# CLang is needed on Darwin for -fllvm to work:
# https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/codegens.html#llvm-code-generator-fllvm
llvm = lib.makeBinPath (
-
[ llvmPackages.llvm ] ++ lib.optional stdenv.targetPlatform.isDarwin llvmPackages.clang
+
[ ghc.llvmPackages.llvm ] ++ lib.optional stdenv.targetPlatform.isDarwin ghc.llvmPackages.clang
);
in