lix/src
Eelco Dolstra 8846465934 * Get garbage collection and cache population to work *properly*.
Renamed `fstateRefs' to `fstateRequisites'.  The semantics of this
  function is that it returns a list of all paths necessary to realise
  a given expression.  For a derive expression, this is the union of
  requisites of the inputs; for a slice expression, it is the path of
  each element in the slice.  Also included are the paths of the
  expressions themselves.  Optionally, one can also include the
  requisites of successor expressions (to recycle intermediate
  results).

* `nix-switch' now distinguishes between an expression and its normal
  form.  Usually, only the normal form is registered as a root of the
  garbage collector.  With the `--source-root' flag, it will also
  register the original expression as a root.

* `nix-collect-garbage' now has a flag `--keep-successors' which
  causes successors not to be included in the list of garbage paths.

* `nix-collect-garbage' now has a flag `--invert' which will print all
  paths that should *not* be garbage collected.
2003-07-29 14:28:17 +00:00
..
archive.cc * Argh, another short-write problem. Added wrappers around 2003-07-20 21:11:43 +00:00
archive.hh * Argh, another short-write problem. Added wrappers around 2003-07-20 21:11:43 +00:00
db.cc * Do sync the database, since not doing so caused database changes not 2003-07-24 13:35:17 +00:00
db.hh * For debugging: `nix --verify' to check the consistency of the 2003-07-17 12:27:55 +00:00
exec.cc * Refactorings. 2003-07-20 19:29:38 +00:00
exec.hh * Refactorings. 2003-07-20 19:29:38 +00:00
fix.cc * `fstateRefs' now works on derive expressions as well. TODO: make 2003-07-29 10:43:12 +00:00
fstate.cc * Substitutes now should produce a path with the same id as they are 2003-07-22 15:15:15 +00:00
fstate.hh * Allow the output/expression id to be forced to a certain 2003-07-21 20:07:12 +00:00
globals.cc * Basic work on allowing derive expressions to build multiple paths. 2003-07-15 16:28:54 +00:00
globals.hh * Basic work on allowing derive expressions to build multiple paths. 2003-07-15 16:28:54 +00:00
hash.cc * Get Fix and Nix to work again. 2003-07-15 22:28:27 +00:00
hash.hh * Get Fix and Nix to work again. 2003-07-15 22:28:27 +00:00
Makefile.am * Get garbage collection and cache population to work *properly*. 2003-07-29 14:28:17 +00:00
md5.c * Fix for big-endian platforms: check for endianness in MD5 computations. 2003-05-27 09:55:47 +00:00
md5.h * For efficiency: md5 integrated into nix. 2003-03-24 17:49:56 +00:00
nix-hash.cc * A utility `nix-hash' to compute Nix path hashes. 2003-07-06 15:11:02 +00:00
nix-help.txt * Get garbage collection and cache population to work *properly*. 2003-07-29 14:28:17 +00:00
nix.cc * Get garbage collection and cache population to work *properly*. 2003-07-29 14:28:17 +00:00
normalise.cc * Get garbage collection and cache population to work *properly*. 2003-07-29 14:28:17 +00:00
normalise.hh * Get garbage collection and cache population to work *properly*. 2003-07-29 14:28:17 +00:00
references.cc * Argh, another short-write problem. Added wrappers around 2003-07-20 21:11:43 +00:00
references.hh * After building, scan for actual file system references as 2003-07-14 10:23:11 +00:00
shared.cc * Debug levels. Use `--verbose / -v LEVEL' to display only messages 2003-07-24 08:53:43 +00:00
shared.hh * Refactoring: move initialisation and argument parsing into a shared 2003-07-04 15:42:03 +00:00
store.cc * Let `nix --install' print out the id of the normal form. 2003-07-29 09:45:03 +00:00
store.hh * Substitutes now should produce a path with the same id as they are 2003-07-22 15:15:15 +00:00
test-builder-1.sh * Started implementing the new evaluation model. 2003-06-16 13:33:38 +00:00
test-builder-2.sh * Fix self-referential outputs. 2003-07-16 08:30:26 +00:00
test-expr-1.nix * Test for expression dereferencing. 2003-06-17 15:47:25 +00:00
test.cc * Let `nix --install' print out the id of the normal form. 2003-07-29 09:45:03 +00:00
util.cc * The `-v' flag no longer takes an argument; it should be repeated 2003-07-24 13:43:16 +00:00
util.hh * The `-v' flag no longer takes an argument; it should be repeated 2003-07-24 13:43:16 +00:00