about summary refs log tree commit diff
path: root/src/nix.cc
AgeCommit message (Collapse)AuthorFilesLines
2003-04-04 * Minor refactoring: use iterators to process arguments.Eelco Dolstra1-80/+79
2003-04-02 * Importing and exporting of pre-built packages.Eelco Dolstra1-10/+106
2003-04-01 * Use ATerms for Nix descriptors.Eelco Dolstra1-25/+28
2003-03-28 * Don't fork in `nix run'.Eelco Dolstra1-44/+20
2003-03-28 * Allow arguments to be passed to programs in `nix run'.Eelco Dolstra1-25/+27
2003-03-24 * For efficiency: md5 integrated into nix.Eelco Dolstra1-63/+195
* Command `nix ensure' which is like `nix getpkg' except that if the has refers to a run action it will just ensure that the imports are there. * Command `nix closure' to print out the closure of the set of descriptors under the import relation, starting at a set of roots. This can be used for garbage collection (e.g., given a list of `activated' packages, we can delete all packages not reachable from those). * Command `nix graph' to print out a Dot graph of the dependency graph. * `nix-addroot' adds a root for the (unimplemented) garbage collector.
2003-03-24 * Descriptors now have a "system" field specifying the platform thatEelco Dolstra1-31/+40
the build or run action should be perfomed on. This ensures that descriptors have different hashes on different platforms.
2003-03-24 * Refactoring.Eelco Dolstra1-66/+37
2003-03-23 * A command to run programs in Nix packages, that is, to execute a runEelco Dolstra1-20/+123
action. Run actions are described by uniquely hashed descriptors, just like build actions. Therefore run actions can have dependencies, but these need not be the same as the build time dependencies (e.g., at runtime we can link against a different version of a dynamic library). Example: nix run 31d6bf4c171282367065e0deecd7c579 will run the Pan 0.13.91 newsreader with gtkspell support.
2003-03-21 * Added a command to list installed packages.Eelco Dolstra1-2/+22
2003-03-21 * Added a command to verify the consistency of the database.Eelco Dolstra1-22/+93
2003-03-20 * Various updates.Eelco Dolstra1-77/+151
2003-03-14 * Improved Nix. Resources (package descriptors and other sourceEelco Dolstra1-74/+267
files) are now referenced using their cryptographic hashes. This ensures that if two package descriptors have the same contents, then they describe the same package. This property is not as trivial as it sounds: generally import relations cause this property not to hold w.r.t. temporality. But since imports also use hashes to reference other packages, equality follows by induction.
2003-03-13 * Converted to C++.Eelco Dolstra1-0/+220