about summary refs log tree commit diff
path: root/src/libstore
AgeCommit message (Collapse)AuthorFilesLines
2004-01-15 * Catch SIGINT to terminate cleanly when the user tries to interruptEelco Dolstra6-4/+27
Nix. This is to prevent Berkeley DB from becoming wedged. Unfortunately it is not possible to throw C++ exceptions from a signal handler. In fact, you can't do much of anything except change variables of type `volatile sig_atomic_t'. So we set an interrupt flag in the signal handler and check it at various strategic locations in the code (by calling checkInterrupt()). Since this is unlikely to cover all cases (e.g., (semi-)infinite loops), sometimes SIGTERM may now be required to kill Nix.
2004-01-13 * Option `-B' to always show the output of builders, regardless ofEelco Dolstra3-1/+7
verbosity level.
2004-01-13 * Periodically checkpoint the log.Eelco Dolstra1-1/+3
2004-01-13 * Tricky: make sure that the accessor count is not reset to 0 ifEelco Dolstra1-1/+5
recovery fails.
2004-01-13 * Print error messages, not debug messages.Eelco Dolstra1-5/+9
2004-01-12 * Changed the extension for store expressions from ".nix" to ".store"Eelco Dolstra1-1/+1
(following the Usenix paper).
2004-01-07 * Upgraded to Berkeley DB 4.2.52. The main advantage of 4.2 is thatEelco Dolstra1-1/+1
it automatically removes log files when they are no longer needed. *** IMPORTANT *** If you have an existing Nix installation, you must checkpoint the Nix database to prevent recent transactions from being undone. Do the following: - optional: make a backup of $prefix/var/nix/db. - run `db_checkpoint' from Berkeley DB 4.1: $ db_checkpoint -h $prefix/var/nix/db -1 - optional (?): run `db_recover' from Berkeley DB 4.1: $ db_recover -h $prefix/var/nix/db - remove $prefix/var/nix/db/log* and $prefix/var/nix/db/__db*
2004-01-05 * Implemented Eelco V.'s `nix-env -I' command to specify the defaultEelco Dolstra1-6/+2
path of the Nix expression to be used with the import, upgrade, and query commands. For instance, $ nix-env -I ~/nixpkgs/pkgs/system/i686-linux.nix $ nix-env --query --available [aka -qa] sylpheed-0.9.7 bison-1.875 pango-1.2.5 subversion-0.35.1 ... $ nix-env -i sylpheed $ nix-env -u subversion There can be only one default at a time. * If the path to a Nix expression is a symlink, follow the symlink prior to resolving relative path references in the expression.
2003-12-22 * GCC 2.95 compatibility.Eelco Dolstra2-0/+2
2003-12-21 * Bug fix: parallel builds of the same derivation failed due to lock file ↵Eelco Dolstra1-3/+5
removal.
2003-12-05 * Allow successors that don't exist but have a substitute.Eelco Dolstra1-34/+73
* Integrity: check in successor / substitute registration whether the target path exists or has a substitute.
2003-12-01 * Use a system name that does not include the OS manufacturer (i.e.,Eelco Dolstra1-1/+1
"i686-linux" instead of "i686-suse-linux").
2003-11-25 * More `make dist' fixes.Eelco Dolstra1-4/+4
2003-11-25 * `make dist' fix.Eelco Dolstra1-8/+1
2003-11-24 * Bug fix in path invalidation.Eelco Dolstra1-23/+41
* More consistency checks.
2003-11-22 * Maintain integrity of the substitute and successor mappings whenEelco Dolstra3-40/+55
deleting a path in the store. * Allow absolute paths in Nix expressions. * Get nix-prefetch-url to work again. * Various other fixes.
2003-11-22 * Fix the garbage collector.Eelco Dolstra1-8/+1
2003-11-21 * Remove lock files after building. Eelco Dolstra3-1/+20
2003-11-19 * nix-env: a tool to manage user environments.Eelco Dolstra4-10/+10
* Replace all directory reading code by a generic readDirectory() function.
2003-11-18 * "Nix expression" -> "store expression".Eelco Dolstra5-79/+64
* More refactoring.
2003-11-18 * libnix -> libstore.Eelco Dolstra20-0/+2285