nixpkgs/nixos/doc/manual/release-notes
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
..
release-notes.xml 23.05 is Stoat 2022-11-21 21:22:27 +01:00
rl-1310.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-1404.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-1412.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-1509.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-1603.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-1609.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-1703.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-1709.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-1803.section.md doc: mention the new format expected by the new vim updater 2022-04-03 18:14:14 +02:00
rl-1809.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-1903.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-1909.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-2003.section.md docs: nixos release notes (w/o 2105 - separate PR) 2021-06-22 09:52:13 -05:00
rl-2009.section.md nixos/doc: fix merged items in 20.09 rel notes 2021-09-11 08:16:31 +00:00
rl-2105.section.md nixos: fix release notes about linux_latest version 2021-08-16 19:32:04 +02:00
rl-2111.section.md nixos/doc: update RL entry for GNAT update 2022-11-26 14:20:09 +01:00
rl-2205.section.md logrotate service: cleanup deprecated options 2022-11-05 10:34:03 +09:00
rl-2211.section.md haskellPackages.callHackage: updating all-cabal-hashes do not invalidate callHackage 2022-11-26 19:00:56 +01:00
rl-2305.section.md amazon-image: fetch metadata only in stage-2 2022-11-23 17:19:13 +01:00