nixpkgs/pkgs/development/haskell-modules
Guillaume Bouchard d1b6d2d0ab haskellPackages.callHackage: updating all-cabal-hashes do not invalidate callHackage
Packages built with `haskellPackages.callHackage` won't be rebuilt when
updating `all-cabal-hashes`.

The removed comment was keeping a reference to the `cabal2nix` call,
which itself depends on `all-cabal-hashes`, in order to keep this file
during a garbage collection.

The tradeoff is between:

- The current behavior: a mass rebuild, any change of `all-cabal-hashes`
  triggers a rebuild of all the packages built with `callHackage` and
  packages which depend on them. This can take hours, and may happen
  after a "small" unrelated change (i.e. an user is bumping
  `all-cabal-hashes` in order to use a new package from hackage). It
  also have global impacts in a project (long rebuild in CI, new entries
  in cache, developers need to fetch the new entries, ...). In this
  context, `cabal2nix` entries are not garbage collected.
- The new behavior: No mass rebuild, but `cabal2nix` derivations need to
  be recomputed after a garbage collection. This is usually fast (a few
  seconds by call), linear with the number of calls and should not
  happen a lot (i.e. users are not garbage collecting everyday).

See https://github.com/NixOS/nixpkgs/issues/194751 for details.
2022-11-26 19:00:56 +01:00
..
configuration-hackage2nix haskellPackages.hsqml: disable new packages 2022-11-20 02:58:53 -05:00
lib haskell.lib.compose.addOptparseApplicativeCompletionScripts: remove 2022-10-07 00:37:53 +02:00
patches haskellPackages.cachix: fix build 2022-09-25 11:09:09 +01:00
cabal2nix-unstable.nix haskellPackages.cabal2nix-unstable: 2022-10-10 -> 2022-10-22 2022-10-22 21:38:09 +02:00
configuration-arm.nix treewide: use isAarch where appropriate 2022-07-30 16:18:27 +00:00
configuration-common.nix haskellPackages.monad-bayes: remove stale jailbreak 2022-11-19 02:01:36 +01:00
configuration-darwin.nix haskellPackages.fourmolu_0_9_0_0: Fix build 2022-11-18 12:54:51 +01:00
configuration-ghc-8.6.x.nix haskellPackages.cabal-install-solver: allow building directly 2022-08-27 10:02:59 +02:00
configuration-ghc-8.8.x.nix haskellPackages: adapt to process 1.6.15.0 -> 1.6.16.0 2022-10-27 22:11:24 +02:00
configuration-ghc-8.10.x.nix haskellPackages: adapt to process 1.6.15.0 -> 1.6.16.0 2022-10-27 22:11:24 +02:00
configuration-ghc-9.0.x.nix haskellPackages: adapt to process 1.6.15.0 -> 1.6.16.0 2022-10-27 22:11:24 +02:00
configuration-ghc-9.2.x.nix haskellPackages.fourmolu_0_9_0_0: Fix build 2022-11-18 12:54:51 +01:00
configuration-ghc-9.4.x.nix Merge pull request #201692 from MercuryTechnologies/gabriella/fix_ormolu_ghc9.4 2022-11-18 12:56:56 +01:00
configuration-ghc-head.nix haskellPackages.terminfo: not a core pkg if cross compiling 2022-07-25 23:42:29 +02:00
configuration-ghcjs.nix haskell.packages.ghcjs.stm: 2.5.0.2 -> stm 2.5.1.0 2022-11-01 12:52:44 +01:00
configuration-nix.nix haskellPackages.fourmolu_0_9_0_0: Fix build 2022-11-18 12:54:51 +01:00
configuration-tensorflow.nix libtensorflow-bin: drop 2022-09-25 13:23:43 +02:00
default.nix treewide: use isAarch where appropriate 2022-07-30 16:18:27 +00:00
generic-builder.nix Merge pull request #172365 from sternenseemann/haskell-mk-derivation-stream-test 2022-05-21 16:44:49 +02:00
generic-stack-builder.nix treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix 2021-01-19 01:16:25 -08:00
hackage-packages.nix haskellPackages.hsqml: disable new packages 2022-11-20 02:58:53 -05:00
HACKING.md haskell: Add link to current haskell update PR search 2022-08-29 10:46:34 +08:00
hoogle-local-wrapper.sh
hoogle.nix lib.closePropagation: Remove the quadratic behavior in lib.closePropagation 2022-10-07 18:03:42 +02:00
initial-packages.nix Consistently use 'lib' instead of 'stdenv.lib' in the Haskell infrastructure. 2021-01-22 20:34:21 +01:00
make-package-set.nix haskellPackages.callHackage: updating all-cabal-hashes do not invalidate callHackage 2022-11-26 19:00:56 +01:00
non-hackage-packages.nix haskellPackages.distribution-nixpkgs: 1.6.2 -> 1.7.0 2022-07-20 12:05:09 +02:00
package-list.nix haskell.package-list: only include versions that conform to PVP 2022-03-20 11:43:37 +01:00
stack-hook.sh
with-packages-wrapper.nix ghcWithPackages: use haskellCompilerName for ghclibdir 2022-03-31 12:50:43 +02:00