about summary refs log tree commit diff
path: root/src/nix-env/profiles.cc
AgeCommit message (Collapse)AuthorFilesLines
2005-02-14 * Refactoring. Hope this doesn't break the semantics of `-u' ;-)Eelco Dolstra1-1/+1
2005-02-14 * Don't keep the derivation symlink when creating profile generations.Eelco Dolstra1-11/+6
2005-02-11 * Refactoring to support different installation sources in nix-env.Eelco Dolstra1-1/+1
* Set the references for the user environment manifest properly. * Don't copy the manifest (this was accidental). * Don't store derivation paths in the manifest (maybe this should be made optional). This cleans up the semantics of nix-env, which were weird. * Hash on the output paths of activated components, not on derivation paths. This is because we don't know the derivation path of already installed components anymore, and it allows the installation of components by store path (skipping Nix expressions entirely). * Query options `--out-path' and `--drv-path' to show the output and derivation paths of components, respectively (the latter replaces the `--expr' query).
2005-01-27 * Fix and simplify the garbage collector (it's still not concurrent,Eelco Dolstra1-9/+10
though). In particular it's now much easier to register a GC root. Just place a symlink to whatever store path it is that you want to keep in /nix/var/nix/gcroots.
2005-01-19 * Started removing closure store expressions, i.e., the explicitEelco Dolstra1-11/+7
representation of closures as ATerms in the Nix store. Instead, the file system pointer graph is now stored in the Nix database. This has many advantages: - It greatly simplifies the implementation (we can drop the notion of `successors', and so on). - It makes registering roots for the garbage collector much easier. Instead of specifying the closure expression as a root, you can simply specify the store path that must be retained as a root. This could not be done previously, since there was no way to find the closure store expression containing a given store path. - Better traceability: it is now possible to query what paths are referenced by a path, and what paths refer to a path.
2004-09-10 * Operation `--delete-generations' to delete generations of aEelco Dolstra1-7/+33
profile. Arguments are either generation number, or `old' to delete all non-current generations. Typical use: $ nix-env --delete-generations old $ nix-collect-garbage * istringstream -> string2Int.
2004-07-01 * Include some missing headers.Eelco Dolstra1-0/+1
2004-02-11 * When creating a new generation, also make the normal form of theEelco Dolstra1-4/+7
derivation (i.e., the closure store expression) a root of the garbage collector. This ensures that running `nix-collect-garbage --no-successors' is safe.
2004-02-06 * In `--list-generations', show what the current generation is.Eelco Dolstra1-9/+24
2004-02-06 * A command `--list-generations' to show all generations for aEelco Dolstra1-4/+37
profile.
2004-02-06 * More refactoring.Eelco Dolstra1-0/+57