about summary refs log tree commit diff
path: root/src/libutil/util.cc
AgeCommit message (Collapse)AuthorFilesLines
2004-08-04 * Creating a file nix-support/no-scan in the output path of aEelco Dolstra1-1/+1
derivation disables scanning for dependencies. Use at your own risk. This is a quick hack to speed up UML image generation (image are very big, say 1 GB). It would be better if the scanner were faster, and didn't read the whole file into memory.
2004-06-25 * A flag `--keep-going / -k' to keep building goals if one fails, asEelco Dolstra1-9/+8
much as possible. (This is similar to GNU Make's `-k' flag.) * Refactoring to implement this: previously we just bombed out when a build failed, but now we have to clean up. In particular this means that goals must be freed quickly --- they shouldn't hang around until the worker exits. So the worker now maintains weak pointers in order not to prevent garbage collection. * Documented the `-k' and `-j' flags.
2004-06-22 * Some more diagnostics changes.Eelco Dolstra1-2/+2
2004-06-22 * Put WEXITSTATUS stuff somewhere else.Eelco Dolstra1-0/+6
2004-06-22 * Wrapper class around pids.Eelco Dolstra1-0/+107
2004-06-22 * Refactoring.Eelco Dolstra1-0/+13
2004-06-20 * Refactoring.Eelco Dolstra1-0/+45
2004-06-15 * Refactoring.Eelco Dolstra1-1/+30
2004-05-12 * An quick and dirty hack to support distributed builds.Eelco Dolstra1-2/+8
2004-05-11 * Ignore interrupt signals while handling an exception.Eelco Dolstra1-4/+15
* Ignore EINTR in reads and writes.
2004-04-23 * Pass SYSTEM through config.h, and allow spaces.Eelco Dolstra1-0/+2
2004-03-27 * Do not close a nesting level twice after close() has beenEelco Dolstra1-0/+1
called explicitly on a Nest object.
2004-03-22 * Some more nesting.Eelco Dolstra1-10/+26
2004-03-22 * Nix now has three different formats for the log information itEelco Dolstra1-5/+25
writes to stderr: - `pretty': the old nested style (default) - `escapes': uses escape codes to indicate nesting and message level; can be processed using `log2xml' - `flat': just plain text, no nesting These can be set using `--log-type TYPE' or the NIX_LOG_TYPE environment variable.
2004-02-06 * Use the profile pointed to by ~/.nix-profile if no --profileEelco Dolstra1-1/+1
argument is specified.
2004-01-15 * Catch SIGINT to terminate cleanly when the user tries to interruptEelco Dolstra1-0/+17
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-05 * Implemented Eelco V.'s `nix-env -I' command to specify the defaultEelco Dolstra1-0/+14
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-11-22 * Fix the garbage collector.Eelco Dolstra1-0/+11
2003-11-19 * nix-env: a tool to manage user environments.Eelco Dolstra1-21/+24
* Replace all directory reading code by a generic readDirectory() function.
2003-11-18 * Source tree refactoring.Eelco Dolstra1-0/+318