3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/haskell-modules
sternenseemann fb075fab73 haskellPackages.{ghcWithPackages, ghcWithHoogle}: make overrideable
This is achieved by passing the entire package set to the respective
wrappers and passing the select function as a second attribute. Together
with the new support for callPackage-ing functions this allows for
things like `ghcWithPackages.override { useLLVM = true; } (p: [ … ])`.

To make this possible for `ghcWithHoogle` as well, we need to make the
wrapper a bit more bespoke and inline the hoogle feature as well. The
hoogle wrapper, however, can remain separate and is exposed as
`hoogleWithPackages` additionally, as it can also serve standalone use.
`hoogleLocal` is kept for backwards compatibility (including the old,
suboptimal API), but will inform users about the better alternative via
a warning.
2022-01-06 12:21:45 +01:00
..
configuration-hackage2nix haskellPackages: stackage-lts 18.20 -> 18.21 2022-01-05 10:49:31 +09:00
lib Merge remote-tracking branch 'origin/staging-next' into staging 2021-12-02 16:07:50 -08:00
patches haskellPackages.xmonad_0_17_0: respect NIX_GHC and XMONAD_XMESSAGE 2021-12-01 18:25:28 +01:00
cabal2nix-unstable.nix haskellPackages.cabal2nix-unstable: 2021-09-28 -> 2021-10-23 2021-10-23 13:42:27 +08:00
configuration-arm.nix haskellPackages.happy_1_19_12: Disable tests 2021-12-22 21:42:14 +01:00
configuration-common.nix haskellPackages.{ghcWithPackages, ghcWithHoogle}: make overrideable 2022-01-06 12:21:45 +01:00
configuration-darwin.nix haskellPackages.foldl: force rebuild on darwin 2022-01-03 16:31:32 +01:00
configuration-ghc-8.6.x.nix haskellPackages: always inherit llvmPackages from ghc's passthru 2021-11-23 16:46:18 +01:00
configuration-ghc-8.8.x.nix haskellPackages: always inherit llvmPackages from ghc's passthru 2021-11-23 16:46:18 +01:00
configuration-ghc-8.10.x.nix haskellPackages: always inherit llvmPackages from ghc's passthru 2021-11-23 16:46:18 +01:00
configuration-ghc-9.0.x.nix haskellPackages.text-short: bump latest version to fix eval errors 2022-01-05 11:30:56 +09:00
configuration-ghc-9.2.x.nix haskellPackages.text-short: bump latest version to fix eval errors 2022-01-05 11:30:56 +09:00
configuration-ghc-head.nix haskellPackages: always inherit llvmPackages from ghc's passthru 2021-11-23 16:46:18 +01:00
configuration-ghcjs.nix haskell.packages.ghcjs.stm: Fix evaluation error 2021-12-22 19:55:30 +01:00
configuration-nix.nix haskellPackages.http-api-data-qq: disable network dependent test 2021-12-27 14:59:36 +01:00
configuration-tensorflow.nix haskell: switch from haskell.lib to haskell.lib.compose 2021-11-07 20:18:45 +08:00
default.nix haskell.packages: move darwin-specific overrides into their own config 2021-05-08 19:56:05 +02:00
generic-builder.nix haskellPackages.mkDerivation: add doHaddockInterfaces option 2021-11-10 21:10:35 +01:00
generic-stack-builder.nix
hackage-packages.nix haskellPackages: regenerate package set based on current config 2022-01-05 10:50:31 +09:00
HACKING.md haskell: small improvements to script for merging haskell-updates PR 2021-09-20 09:55:22 +09:00
hoogle-local-wrapper.sh
hoogle.nix haskellPackages.{ghcWithPackages, ghcWithHoogle}: make overrideable 2022-01-06 12:21:45 +01:00
initial-packages.nix
lib.nix haskell.lib.compose: init 2021-11-07 19:40:00 +08:00
make-package-set.nix haskellPackages.{ghcWithPackages, ghcWithHoogle}: make overrideable 2022-01-06 12:21:45 +01:00
non-hackage-packages.nix haskellPackages.graphql-engine: 2.0.5 -> 2.0.7 2021-08-19 14:15:21 +02:00
package-list.nix pkgs.haskell.package-list: init 2021-07-22 23:17:37 +02:00
stack-hook.sh
with-packages-wrapper.nix haskellPackages.{ghcWithPackages, ghcWithHoogle}: make overrideable 2022-01-06 12:21:45 +01:00