Commit graph

  • da0a6b6499 * Doh. Eelco Dolstra 2006-02-12 21:00:36 +0000
  • 982399bb14 * Enable the --attr in nix-build as well (and add -A as an alias). Example: Eelco Dolstra 2006-02-10 17:37:35 +0000
  • c6120352b3 * In nix-instantiate, allow us to specify a "path" to the derivation(s) we're interested, e.g., Eelco Dolstra 2006-02-10 17:25:59 +0000
  • b505f9eaf5 * Document that nix-instantiate can read from stdin. Eelco Dolstra 2006-02-10 15:29:17 +0000
  • 9e51abc7dc * Make --parse-only work when *not* reading from stdin. Eelco Dolstra 2006-02-10 15:28:47 +0000
  • f848a45739 * Cleanup: use the code shared with nix-env. Eelco Dolstra 2006-02-10 15:14:57 +0000
  • 4eb637c799 * When querying all derivations, filter out syntactically equal derivations. Eelco Dolstra 2006-02-08 16:15:07 +0000
  • 8688e83194 * When evaluating, automatically call functions with default arguments. Eelco Dolstra 2006-02-08 15:22:30 +0000
  • f8aadf14c3 * Test-driven development, woohoo! nix-env should work on functions, provided that all arguments have defaults. Eelco Dolstra 2006-02-08 15:21:57 +0000
  • 287d0ef41c * Oops, fix breakage. Eelco Dolstra 2006-02-08 14:32:33 +0000
  • e771e59178 * Tests for nix-env, finally! Eelco Dolstra 2006-02-08 14:32:06 +0000
  • 39f50db731 * Refactoring: move derivation evaluation to libexpr. Eelco Dolstra 2006-02-08 13:21:16 +0000
  • 4db4b61380 * Don't install nix.conf (so it won't be overriden when you upgrade an RPM). Eelco Dolstra 2006-02-07 14:47:26 +0000
  • 81de538e46 * Use setsid instead of setpgrp in child processes. This not only creates a new process group but also a new session. New sessions have no controlling tty, so child processes like ssh cannot open /dev/tty (which is bad). Eelco Dolstra 2006-02-03 14:20:59 +0000
  • b90daaaf6c * When killing a build hook, kill the entire process group (as intended). This ensures that any ssh child processes to remote machines are also killed, and thus the Nix process on the remote machine also exits. Without this, the remote Nix process will continue until it exists or until its stdout buffer gets full and it locks up. (Partially fixes NIX-35.) Eelco Dolstra 2006-02-02 16:27:31 +0000
  • 6e2eaaec96 * Print a better error message when writing the patched file (e.g., "No space left on device" instead of "Success"). Reported by Karina Olmos. Eelco Dolstra 2006-02-01 17:28:13 +0000
  • d9d6ff9f8e * Doh. Eelco Dolstra 2006-02-01 16:49:52 +0000
  • 8291f6d968 * bsdiff updated to 4.3. This makes Nix depend on libbz2. Eelco Dolstra 2006-02-01 16:48:49 +0000
  • 9e4ffc43a2 * The "S" bit should be based on the output path, not the derivation path. Eelco Dolstra 2006-02-01 16:47:51 +0000
  • 3eba483692 * Use Berkeley DB 4.4.20. Eelco Dolstra 2006-02-01 14:52:58 +0000
  • 151f10dbc7 * Add @bindir@. Eelco Dolstra 2006-02-01 12:41:54 +0000
  • 83424eb71b * Don't force a build of derivations. Eelco Dolstra 2006-01-26 23:18:46 +0000
  • db2275cb99 * Oops, the "I" bit in "nix-env -qas" was broken. Reported by Nicolae Vintila. Eelco Dolstra 2006-01-26 23:18:26 +0000
  • 1029716a8a * Don't show cycles, they're not very useful. Eelco Dolstra 2006-01-19 15:35:34 +0000
  • e4d4969ae9 * New tools nix-pack-closure and nix-unpack-closure. These provide a useful way to transfer the closure of a store path to another machine. Eelco Dolstra 2006-01-12 15:17:51 +0000
  • 5b527901ae * dirOf: return "/", not "", for paths in the root directory. Fixes NIX-26. Eelco Dolstra 2006-01-09 14:52:46 +0000
  • 04be39734f * Resolve all symlink components in the location of the temporary build directory (TMPDIR, i.e., /tmp). Fixes NIX-26. Eelco Dolstra 2006-01-08 17:16:03 +0000
  • 0f8d3c871b * More GCC 2.95 compatibility. Eelco Dolstra 2005-12-25 11:29:12 +0000
  • 52d20ef124 * Hack around a GCC 2.95 bug. Eelco Dolstra 2005-12-25 02:02:29 +0000
  • 1440419b45 * GCC 2.95 compatibility. Eelco Dolstra 2005-12-24 23:32:59 +0000
  • 1d2460ee5d * Documentation fixes. Eelco Dolstra 2005-12-24 23:22:05 +0000
  • f96d2dea26 * Added a flag --ignore-liveness' to nix-store --delete'. It deletes a path even if it is reachable from a root. However, it won't delete a path that still has referrers (since that would violate store invariants). Eelco Dolstra 2005-12-23 21:36:44 +0000
  • 4b9e7f59ca * Revived the old "nix-store --delete" operation that deletes the specified paths from the Nix store. However, this operation is safe: it refuses to delete anything that the garbage collector wouldn't delete. Eelco Dolstra 2005-12-23 21:08:42 +0000
  • 3c5619c7e4 * Begin release notes. Eelco Dolstra 2005-12-15 21:11:55 +0000
  • 530b27df1e * `nix-store --gc' prints out the number of bytes freed on stdout (even when it is interrupted by a signal). Eelco Dolstra 2005-12-15 21:11:39 +0000
  • 5144f750c4 * Typo. Eelco Dolstra 2005-12-15 17:04:02 +0000
  • b1eed6b586 * Split the database upgrade into multiple transactions to prevent Berkeley DB from running out of locks. Eelco Dolstra 2005-12-15 16:53:21 +0000
  • 11a8dc76d6 * Doh! Eelco Dolstra 2005-12-15 13:45:10 +0000
  • ab5c6bb3a3 * Change referer' to referrer' throughout. In particular, the 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). Eelco Dolstra 2005-12-13 21:04:48 +0000
  • d87549c1c7 * Automatically delete the old referers table. Eelco Dolstra 2005-12-12 19:14:38 +0000
  • 8463f27d8c * Fix NIX-23: quadratic complexity in maintaining the referers mapping. The referer table is replaced by a referrer table (note spelling fix) that stores each referrer separately. That is, instead of having Eelco Dolstra 2005-12-12 18:24:42 +0000
  • 18bbcb1214 * Add a test to demonstrate the quadratic complexity of referrer (de)registration, in particular garbage collection (NIX-23). Eelco Dolstra 2005-12-11 19:25:48 +0000
  • a33b561a6b * Use Berkeley DB 4.4's process registry feature to recover from crashed Nix instances, and toss out our own recovery code. Eelco Dolstra 2005-12-09 22:55:07 +0000
  • eb268a7f95 * Apply the patch. Eelco Dolstra 2005-12-08 22:14:15 +0000
  • dfffd92568 * A patch to make the DB_REGISTER feature work when debug info is not on. Eelco Dolstra 2005-12-08 18:18:20 +0000
  • 760264bffe * Require Berkeley DB 4.4. * Checkpoint after an upgrade. Eelco Dolstra 2005-12-06 15:00:04 +0000
  • dc528128cc * FreeBSD compatibility fix. Eelco Dolstra 2005-11-17 13:58:23 +0000
  • 44409f52c1 * "Fix" the test, since we cannot feasibly support the intended semantics. Eelco Dolstra 2005-11-17 11:58:22 +0000
  • b7f008fc35 * Did something useful while waiting at IAD: reference scanning is now much faster. Eelco Dolstra 2005-11-16 08:27:06 +0000
  • 9311ab76a5 * Install signal handlers for SIGTERM and SIGHUP. This ensures that Nix is properly shut down when it receives those signals. In particular this ensures that killing the garbage collector doesn't cause a subsequent database recovery. Eelco Dolstra 2005-11-04 15:34:09 +0000
  • 5bf939885a * Memoise checkVarDefs since internally produced terms (i.e., not the result of parsing) can have very heavy sharing, causing exponential complexity if we naively recurse into them. ATerms are graphs, not trees! Eelco Dolstra 2005-11-04 15:17:05 +0000
  • 1f285cf556 * Scoping bug in `with'. Eelco Dolstra 2005-11-04 14:50:33 +0000
  • 221c79013f * Turn off build hooks in nix-push because of an impurity (NIX-21). Eelco Dolstra 2005-10-29 18:17:45 +0000
  • f0856fd905 * Repair the referers table from the references table. Rob Vermaas 2005-10-29 15:44:02 +0000
  • 92d599c6a7 * Prevent uids from being used for more than one build simultaneously. We do this using exclusive locks on uid files in /nix/var/nix/userpool, e.g., /nix/var/nix/userpool/123 for uid 123. Eelco Dolstra 2005-10-20 16:58:34 +0000
  • e932c40f8e * Oops. Fixed-output derivations were broken. Eelco Dolstra 2005-10-19 14:27:44 +0000
  • 1b43fbd8e4 * Oops, that should be Berkeley DB 4.3. Reported by Gerco Ballintijn. Eelco Dolstra 2005-10-18 14:09:43 +0000
  • 13b089c890 * Also kill all processes of the build user after the build. This is critical to prevent certain kinds of 0wnage. Eelco Dolstra 2005-10-17 17:43:21 +0000
  • f1b3a418fa * Before starting a build under some uid, kill all current processes running under that uid. Eelco Dolstra 2005-10-17 17:35:37 +0000
  • 439823ae80 * Check that the build result is owned by the build user, and that nobody else has write permission to the build result. This catches most hack attempts. Eelco Dolstra 2005-10-17 16:59:25 +0000
  • 7ef574e5d0 * Don't use FIFOs to make Nix create the output path on behalf of the builder. Instead, require that the Nix store has sticky permission (S_ISVTX); everyone can created files in the Nix store, but they cannot delete, rename or modify files created by others. Eelco Dolstra 2005-10-17 16:52:29 +0000
  • 32282abcea * Beginning of secure multi-user Nix stores. If Nix is started as root (or setuid root), then builds will be performed under one of the users listed in the `build-users' configuration variables. This is to make it impossible to influence build results externally, allowing locally built derivations to be shared safely between users (see ASE-2005 paper). Eelco Dolstra 2005-10-17 15:33:24 +0000
  • 15ff877438 add @coreutils@ to correctly use coreutils to create a profile. This is needed for NixOS, where we might not know our PATH in advance. Armijn Hemel 2005-10-11 17:30:57 +0000
  • 0f133ae8d2 * Use ATerm 2.4.2. Eelco Dolstra 2005-10-11 12:41:12 +0000
  • dfbf520ec2 * Swap the system and version comparion columns. Eelco Dolstra 2005-10-06 15:51:59 +0000
  • 62412c5874 * Document `nix-env --compare-versions'. Eelco Dolstra 2005-10-06 15:51:43 +0000
  • cec2be64f3 * Only colorise if we are attached to a terminal. Eelco Dolstra 2005-10-06 15:01:46 +0000
  • b87b9c0d1f * New query option: --compare-versions' or -c' to compare installed versions to available versions, or vice versa. Eelco Dolstra 2005-10-06 14:44:54 +0000
  • 0e0041b2b6 * Update NEWS in the root directory properly. Eelco Dolstra 2005-10-05 13:01:45 +0000
  • 0e38578433 * log2xml -> nix-log2xml. Eelco Dolstra 2005-10-05 09:42:13 +0000
  • d47e03fccd * Install the XSL stylesheets for log to html conversion. Eelco Dolstra 2005-10-05 09:37:58 +0000
  • ed4de220d2 * Use "source" instead of ".". Eelco Dolstra 2005-09-28 09:00:07 +0000
  • ebfe57166d * Lets not go wild with templates. Eelco Dolstra 2005-09-22 17:23:43 +0000
  • 4578a490ce * Parse multi-valued options. Eelco Dolstra 2005-09-22 15:43:22 +0000
  • fbedf6056e * Merge release notes. Eelco Dolstra 2005-09-22 12:23:22 +0000
  • 607a2f01e6 * Remove other uses of IPC::Open2. Eelco Dolstra 2005-09-21 17:14:52 +0000
  • 95304172a5 * Don't use IPC::Open2, it has a subtle race bug on Mac OS X 10.4. If the parent runs before the child, it closes some pipe file descriptors which causes the child to fail due to a bad file descriptor. So we just use the normal open() function instead. Eelco Dolstra 2005-09-21 17:06:06 +0000
  • a864aca44c * This doesn't parse for now. Eelco Dolstra 2005-09-21 17:02:48 +0000
  • 8d06842a76 * Configuration options for trusted local builds. Eelco Dolstra 2005-09-21 12:19:39 +0000
  • 89cd0f57b1 * Use -all_load on Mac OS X. Eelco Dolstra 2005-09-21 11:12:43 +0000
  • ef9e2c8e73 * Typo. Eelco Dolstra 2005-09-20 16:14:00 +0000
  • 25d217684b * Use a statically linked ATerm library and build it at -O1, since higher optimisation levels cause statically linked libraries to barf. Eelco Dolstra 2005-09-18 20:27:02 +0000
  • f4fe3bd5b1 * Bump the version number to 0.10. Eelco Dolstra 2005-09-16 13:47:03 +0000
  • db1a4227a3 * Updated release notes. Eelco Dolstra 2005-09-16 11:28:29 +0000
  • c28b8eb699 * svn:ignores. * Add missing file to dist. Eelco Dolstra 2005-09-16 10:35:48 +0000
  • 6f044ab39c * svn:ignore. Eelco Dolstra 2005-09-16 09:05:54 +0000
  • d34fa9a6cc * Remove dead file. Eelco Dolstra 2005-09-16 09:05:18 +0000
  • 846b53bde4 * Set the current directory to something well-defined. Might help in setuid installations. Eelco Dolstra 2005-09-16 09:03:24 +0000
  • 5c0770ac84 * Include the release notes in the manual. Eelco Dolstra 2005-09-16 08:47:34 +0000
  • 1b62c2eba3 * Force release notes in ASCII, not UTF-8. Eelco Dolstra 2005-09-15 20:29:08 +0000
  • d1d0271996 * Check for w3m. Eelco Dolstra 2005-09-15 15:21:57 +0000
  • 7f384d9c1b * Use a proper temporary directory. Eelco Dolstra 2005-09-15 15:21:35 +0000
  • 896c0b92f3 * This is not a GNU project :-P Eelco Dolstra 2005-09-15 09:18:21 +0000
  • 5818e8eeaf * Remove dead code. Eelco Dolstra 2005-09-14 18:51:02 +0000
  • 025086edea * Release notes in Docbook; ASCII release notes (i.e., the NEWS' file) is now generated from that using w3m' and some XSL hackery. Eelco Dolstra 2005-09-14 18:50:45 +0000
  • ed1db42915 * List concatenation must be right-associative for efficiency. Eelco Dolstra 2005-09-14 11:41:59 +0000
  • deb75bb414 * Remove debugging code. Eelco Dolstra 2005-09-13 15:54:36 +0000
  • 116e939d57 * More debugging. Eelco Dolstra 2005-09-13 14:07:22 +0000
  • 55b84357a1 * Debugging. Eelco Dolstra 2005-09-13 13:17:14 +0000
  • cf2bb91ec8 * Missing #include. Eelco Dolstra 2005-09-13 13:17:01 +0000