about summary refs log tree commit diff
path: root/src/nix-store/help.txt
AgeCommit message (Collapse)AuthorFilesLines
2005-12-23 * Revived the old "nix-store --delete" operation that deletes theEelco Dolstra1-0/+1
specified paths from the Nix store. However, this operation is safe: it refuses to delete anything that the garbage collector wouldn't delete.
2005-12-13 * Change `referer' to `referrer' throughout. In particular, theEelco Dolstra1-2/+2
nix-store query options `--referer' and `--referer-closure' have been changed to `--referrer' and `--referrer-closure' (but the old ones are still accepted for compatibility).
2005-04-08 * nix-store: `--substitute' -> `--register-substitutes'.Eelco Dolstra1-1/+1
2005-03-23 * nix-store: `--isvalid' -> `--check-validity', `--validpath' ->Eelco Dolstra1-2/+2
`--register-validity'. * `nix-store --register-validity': read arguments from stdin, and allow the references and deriver to be set.
2005-02-17 * `nix-store -q --tree' shows a tree representing the dependency graphEelco Dolstra1-1/+2
of the given derivation. Useful for getting a quick overview of how something was built. E.g., to find out how the `baffle' program in your user environment was built, you can do $ nix-store -q --tree $(nix-store -qd $(which baffle)) Tree nesting depth is minimised (?) by topologically sorting paths under the relation A < B iff A \in closure(B).
2005-02-01 * nix-store, nix-instantiate: added an option `--add-root' toEelco Dolstra1-0/+2
immediately add the result as a permanent GC root. This is the only way to prevent a race with the garbage collector. For instance, the old style ln -s $(nix-store -r $(nix-instantiate foo.nix)) \ /nix/var/nix/gcroots/result has two time windows in which the garbage collector can interfere (by GC'ing the derivation and the output, respectively). On the other hand, nix-store --add-root /nix/var/nix/gcroots/result -r \ $(nix-instantiate --add-root /nix/var/nix/gcroots/drv \ foo.nix) is safe. * nix-build: use `--add-root' to prevent GC races.
2005-01-25 * In nix-store: added query `--referers-closure' that returns theEelco Dolstra1-2/+10
closure of the referers relation rather than the references relation, i.e., the set of all paths that directly or indirectly refer to the given path. Note that contrary to the references closure this set is not fixed; it can change as paths are added to or removed from the store.
2005-01-25 * In nix-store: change `--build' back to `--realise'. Also broughtEelco Dolstra1-1/+1
back the query flag `--force-realise'. * Fixed some of the tests.
2005-01-19 * Change extension `.store' to `.drv'.Eelco Dolstra1-7/+6
* Re-enable `nix-store --query --requisites'.
2004-12-20 * Simplify the substitute mechanism:Eelco Dolstra1-0/+1
- Drop the store expression. So now a substitute is just a command-line invocation (a program name + arguments). If you register a substitute you are responsible for registering the expression that built it (if any) as a root of the garbage collector. - Drop the substitutes-rev DB table.
2004-02-14 * The environment variable NIX_ROOT can now be set to execute Nix in aEelco Dolstra1-2/+4
chroot() environment. * A operation `--validpath' to register path validity. Useful for bootstrapping in a pure Nix environment. * Safety checks: ensure that files involved in store operations are in the store.
2003-11-18 * "Fix expression" -> "Nix expression".Eelco Dolstra1-0/+34
* More refactoring.