lix/src/libstore
Eelco Dolstra 9e975458b4 * Get rid of the substitutes database table (NIX-47). Instead, if we
need any info on substitutable paths, we just call the substituters
  (such as download-using-manifests.pl) directly.  This means that
  it's no longer necessary for nix-pull to register substitutes or for
  nix-channel to clear them, which makes those operations much faster
  (NIX-95).  Also, we don't have to worry about keeping nix-pull
  manifests (in /nix/var/nix/manifests) and the database in sync with
  each other.

  The downside is that there is some overhead in calling an external
  program to get the substitutes info.  For instance, "nix-env -qas"
  takes a bit longer.

  Abolishing the substitutes table also makes the logic in
  local-store.cc simpler, as we don't need to store info for invalid
  paths.  On the downside, you cannot do things like "nix-store -qR"
  on a substitutable but invalid path (but nobody did that anyway).

* Never catch interrupts (the Interrupted exception).
2007-08-12 00:29:28 +00:00
..
build.cc * Get rid of the substitutes database table (NIX-47). Instead, if we 2007-08-12 00:29:28 +00:00
db.cc * Get rid of the substitutes database table (NIX-47). Instead, if we 2007-08-12 00:29:28 +00:00
db.hh * Get rid of the substitutes database table (NIX-47). Instead, if we 2007-08-12 00:29:28 +00:00
derivations-ast.def * Automatically upgrade <= 0.7 Nix stores to the new schema (so that 2005-02-09 09:50:29 +00:00
derivations.cc * computeStorePathForText: take the references into account when 2007-01-29 15:51:37 +00:00
derivations.hh * Remove unnecessary inclusions of aterm2.h. 2006-09-04 22:08:40 +00:00
gc.cc * Get rid of the substitutes database table (NIX-47). Instead, if we 2007-08-12 00:29:28 +00:00
globals.cc * Get rid of the substitutes database table (NIX-47). Instead, if we 2007-08-12 00:29:28 +00:00
globals.hh * Get rid of the substitutes database table (NIX-47). Instead, if we 2007-08-12 00:29:28 +00:00
local-store.cc * Get rid of the substitutes database table (NIX-47). Instead, if we 2007-08-12 00:29:28 +00:00
local-store.hh * Get rid of the substitutes database table (NIX-47). Instead, if we 2007-08-12 00:29:28 +00:00
Makefile.am * Allow unprivileged users to run the garbage collector and to do 2006-12-05 02:18:46 +00:00
misc.cc * Get rid of the substitutes database table (NIX-47). Instead, if we 2007-08-12 00:29:28 +00:00
misc.hh * Use a proper namespace. 2006-09-04 21:06:23 +00:00
pathlocks.cc * Use a proper namespace. 2006-09-04 21:06:23 +00:00
pathlocks.hh * Use a proper namespace. 2006-09-04 21:06:23 +00:00
references.cc * Use a bounded amount of memory in scanForReferences() by not reading 2006-09-22 13:10:30 +00:00
references.hh * Use a proper namespace. 2006-09-04 21:06:23 +00:00
remote-store.cc * Get rid of the substitutes database table (NIX-47). Instead, if we 2007-08-12 00:29:28 +00:00
remote-store.hh * Get rid of the substitutes database table (NIX-47). Instead, if we 2007-08-12 00:29:28 +00:00
store-api.cc * Get rid of the substitutes database table (NIX-47). Instead, if we 2007-08-12 00:29:28 +00:00
store-api.hh * Get rid of the substitutes database table (NIX-47). Instead, if we 2007-08-12 00:29:28 +00:00
worker-protocol.hh * Get rid of the substitutes database table (NIX-47). Instead, if we 2007-08-12 00:29:28 +00:00