nixpkgs/nixos/doc/manual
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
..
administration treewide: change postgresql_10 in documentation and examples to postgresql_14 2022-08-15 22:36:32 +02:00
configuration nixos/manual: Don't recommend mkpasswd methods 2022-11-19 14:07:59 +01:00
development nixos/manual: re-add mention of mdDoc marker 2022-11-14 16:05:44 +01:00
from_md haskellPackages.callHackage: updating all-cabal-hashes do not invalidate callHackage 2022-11-26 19:00:56 +01:00
installation Merge pull request #201084 from wentasah/nixos-doc-fix-install 2022-11-22 11:13:09 +01:00
release-notes haskellPackages.callHackage: updating all-cabal-hashes do not invalidate callHackage 2022-11-26 19:00:56 +01:00
.gitignore
contributing-to-this-manual.chapter.md
default.nix nixos/doc: Disambiguate test option ids 2022-09-29 12:41:59 +02:00
Makefile
man-configuration.xml
man-nixos-build-vms.xml
man-nixos-enter.xml
man-nixos-generate-config.xml
man-nixos-install.xml nixos-install: support --no-root-password 2021-11-22 22:09:50 +02:00
man-nixos-option.xml
man-nixos-rebuild.xml nixos-rebuild: document cross compilation subtlety 2022-04-05 16:00:51 +02:00
man-nixos-version.xml
man-pages.xml nixos/manual: Update copyright years, authors, and copyright 2022-03-20 12:27:12 +01:00
manual.xml
md-to-db.sh nixos/doc/manual/md-to-db.sh: Add support for <kbd> element 2022-10-26 01:46:44 +02:00
preface.xml Revert "Update preface.xml (#185868)" 2022-08-10 20:26:01 +10:00
README.md nixos/manual: Fix link to contributing guide 2021-07-16 22:55:28 -07:00
shell.nix