Commit graph

  • b7b3dd55f9 * Remove a lot of dead code. Eelco Dolstra 2010-04-08 11:41:19 +0000
  • 7e048eddf5 * Fix blackholing. If evaluation fails due to an assertion failure, then the blackhole has to be removed to ensure that repeated evaluation of the same value gives an assertion failure again rather than an "infinite recursion" error. Eelco Dolstra 2010-04-08 11:25:14 +0000
  • af2a372bb0 * Update autoCallFunction() and findAlongAttrPath(). Eelco Dolstra 2010-04-07 15:47:06 +0000
  • 9a64454faa * expr-to-xml -> value-to-xml. Eelco Dolstra 2010-04-07 13:59:45 +0000
  • fc92244ba8 * Implemented the primops necessary for generating the NixOS manual. Eelco Dolstra 2010-04-07 13:55:46 +0000
  • a353aef0b1 * In eval(), don't use the target value v' as a temporary. Overwriting v' breaks when the expression evaluation to an assertion failure or throw. Eelco Dolstra 2010-04-06 14:15:29 +0000
  • a5ece7d016 * Removed the `~' operator. Eelco Dolstra 2010-04-01 16:59:07 +0000
  • c172274e17 * Quick hack to make coerceToString work more or less correctly on nested lists. `nix-instantiate' can now evaluate the NixOS system derivation attribute correctly (in 2.1s on my laptop vs. 6.2s for the trunk). Eelco Dolstra 2010-04-01 14:35:03 +0000
  • 7b851915bf * Improve sharing. Eelco Dolstra 2010-04-01 12:04:57 +0000
  • 95cc417d76 * Functions are incomparable. Eelco Dolstra 2010-04-01 10:55:36 +0000
  • 71f026292b * Make derivation' lazy again for performance. It also turns out that there are some places in Nixpkgs (php_configurable / composableDerivation, it seems) that call derivation' with incorrect arguments (namely, the `name' attribute missing) but get away with it because of laziness. Eelco Dolstra 2010-04-01 09:55:57 +0000
  • dc31305b38 * Fixed the trace primop and path comparison. * Removed exprToString and stringToExpr because there is no ATerm representation to work on anymore (and exposing the internals of the evaluator like this is not a good idea anyway). Eelco Dolstra 2010-03-31 20:09:20 +0000
  • 979f163615 * Handle string contexts. nix-instantiate' can now correctly compute the firefoxWrapper' attribute in Nixpkgs, and it's about 3 times faster than the trunk :-) Eelco Dolstra 2010-03-31 19:52:29 +0000
  • d8cd3115d8 * Get nix-env to compile. Eelco Dolstra 2010-03-31 19:12:08 +0000
  • 55e207b2dc * Cache parse trees to prevent repeated parsing of imported Nix expressions. Eelco Dolstra 2010-03-31 16:14:32 +0000
  • 3d94be61ea * Implemented derivations. Eelco Dolstra 2010-03-31 15:38:03 +0000
  • 5187678913 Eelco Dolstra 2010-03-31 15:14:23 +0000
  • f061086a93 * Fix the broken test for listToAttrs. Eelco Dolstra 2010-03-31 13:35:29 +0000
  • 09381cccff Make source location info in the XML output optional. Ludovic Courtès 2010-03-31 12:38:31 +0000
  • 13c2adc897 * Implemented `rec { inherit ...; }'. Eelco Dolstra 2010-03-31 11:05:39 +0000
  • 4c53ca2692 * Compare nulls. Eelco Dolstra 2010-03-31 09:54:12 +0000
  • 471419d1fa Add source location information to the XML output. Ludovic Courtès 2010-03-31 08:29:05 +0000
  • eb07a4f1ee Escape `>' signs in the XML output. Ludovic Courtès 2010-03-31 08:29:01 +0000
  • 7f19e03c65 * More primops. Eelco Dolstra 2010-03-30 22:39:48 +0000
  • 47df476daa * More operators / primops. Eelco Dolstra 2010-03-30 18:05:54 +0000
  • c9170be2bd * More primops. Eelco Dolstra 2010-03-30 15:18:20 +0000
  • c3aa615a5f * More primops. Eelco Dolstra 2010-03-30 14:39:27 +0000
  • 5b72d8a749 * Implemented `map'. Eelco Dolstra 2010-03-30 13:47:59 +0000
  • d78a05ab40 * Make `import' work. Eelco Dolstra 2010-03-30 09:22:33 +0000
  • 31428c3a06 * Started integrating the new evaluator. Eelco Dolstra 2010-03-29 14:37:56 +0000
  • 52090d2418 Eelco Dolstra 2010-03-29 10:13:51 +0000
  • e3f32ac5af Eelco Dolstra 2010-03-29 09:43:55 +0000
  • 807a67bc74 Eelco Dolstra 2010-03-29 09:43:39 +0000
  • 392811eb8f * Strings. Eelco Dolstra 2010-03-28 18:27:07 +0000
  • d96cdcea6b Eelco Dolstra 2010-03-28 16:57:16 +0000
  • 3d2b835f30 * Implemented multi-argument primops. Eelco Dolstra 2010-03-28 16:37:39 +0000
  • 45d822f29c * Primops (not yet finished). Eelco Dolstra 2010-03-26 15:45:53 +0000
  • cad8726b2c * Implemented the ==' and !=' operators. These now use a deep equality test, so they also work for (finite) attribute sets and lists. Eelco Dolstra 2010-03-26 13:27:26 +0000
  • 8da118e4d0 * Measure stack usage. Eelco Dolstra 2010-03-25 16:35:24 +0000
  • c2ba4313fb * Implemented lists. Eelco Dolstra 2010-03-25 15:38:37 +0000
  • 25eedf085d * Quick and dirty implementation of with'. with e1; e2' is basically desugared to let <with> = e1; e2', and lookupVar' looks in each <with> in the environment chain for an attribute with the specified name. Eelco Dolstra 2010-03-25 14:51:04 +0000
  • 3c9f8fc9b6 * Don't convert variable names to strings. Eelco Dolstra 2010-03-25 13:10:04 +0000
  • f450384ded * Implement blackholing. Eelco Dolstra 2010-03-25 12:51:14 +0000
  • ef8bd919fc * Implement `...' and default function arguments. Eelco Dolstra 2010-03-25 12:45:23 +0000
  • 8a10360c91 * Simplify @-patterns: only {attrs}@name' or name@{attrs}' are now allowed. So name1@name2', {attrs1}@{attrs2}' and so on are now no longer legal. This is no big loss because they were not useful anyway. Eelco Dolstra 2010-03-25 12:19:41 +0000
  • 7482349fe8 * Implemented attribute set pattern matches. Eelco Dolstra 2010-03-24 23:40:00 +0000
  • 0fd3648d34 * Store values in environments. Eelco Dolstra 2010-03-24 12:41:08 +0000
  • b70bd8fe56 * Reduce the number of value allocations in eval() by moving responsibility for allocation of the result to the caller. Eelco Dolstra 2010-03-24 12:11:38 +0000
  • d31c59eb17 * Plain lambdas. Eelco Dolstra 2010-03-24 11:06:05 +0000
  • e8f7978274 Eelco Dolstra 2010-03-23 19:19:52 +0000
  • 0910ae9568 * Start of an evaluator that uses call-by-need (with thunk updating) instead of (memoised) call-by-name. Eelco Dolstra 2010-03-23 17:30:50 +0000
  • 90039e0863 * Branch for experimenting with faster / less memory-hungry Nix expression evaluation. Eelco Dolstra 2010-03-23 15:09:29 +0000
  • 71be50cc25 * Doh. Eelco Dolstra 2010-03-23 14:51:32 +0000
  • 3bfd3a4e95 * Test "with as; with bs;" since nobody knows what its semantics is. Eelco Dolstra 2010-03-23 14:26:27 +0000
  • f71ea9c911 * Use SQLite 3.6.23. Eelco Dolstra 2010-03-23 10:38:59 +0000
  • 141294ff38 * Clean up error messages in killUser(). Eelco Dolstra 2010-03-19 11:36:34 +0000
  • 74299c1cfb * Bump version number. Eelco Dolstra 2010-03-17 12:12:45 +0000
  • c4cfb392d3 Eelco Dolstra 2010-03-17 10:08:34 +0000
  • 8e3d98eb41 * Release notes for Nix 0.15. Eelco Dolstra 2010-03-16 13:12:18 +0000
  • f0c473c5f7 * Fix building on Cygwin (http://hydra.nixos.org/build/325071). Eelco Dolstra 2010-03-16 13:01:52 +0000
  • fe1b8781ae * Fix a broken link (reported by Peter Koppstein). Eelco Dolstra 2010-03-16 12:58:20 +0000
  • 741b7577c1 Merge r20344 & r20346. Nicolas Pierron 2010-03-14 11:58:07 +0000
  • 2fb0df83e9 Uh. somehow a Makefile tab got in as spaces. Fixing. Lluís Batlle i Rossell 2010-03-11 21:22:52 +0000
  • 13cce8ec45 Making 'bin2c' to be built with the compiler for the local system. I copied the configure.ac code about CC_FOR_BUILD from libX11. Lluís Batlle i Rossell 2010-03-11 20:56:25 +0000
  • e020d80e4e * Sync with the trunk. Eelco Dolstra 2010-03-11 15:45:05 +0000
  • 05e15049a5 Show the build user's group in /etc/group in chroots. Ludovic Courtès 2010-03-11 14:47:04 +0000
  • 070057c1b9 * Sync with the trunk. Eelco Dolstra 2010-03-11 10:52:52 +0000
  • c752c9f41a Fix thinko in r20547. Ludovic Courtès 2010-03-11 10:33:04 +0000
  • 2e8eaca573 Clear supplementary groups of `nixbld' in /etc/passwd in chroots. Ludovic Courtès 2010-03-11 10:21:23 +0000
  • 03afc34805 * Simplify. Eelco Dolstra 2010-03-10 13:07:37 +0000
  • 1a65142ec4 * Remove a debug statement. Eelco Dolstra 2010-03-10 12:46:25 +0000
  • 4c356acd04 * In `nix-store --export', abort if the contents of a path has changed. This prevents corrupt paths from spreading to other machines. Note that checking the hash is cheap because we're hashing anyway (because of the --sign feature). Eelco Dolstra 2010-03-09 14:32:03 +0000
  • 44f6e6de77 * Set gc-keep-outputs' or gc-keep-derivations' to false with `--delete --ignore-liveness'. Eelco Dolstra 2010-03-08 21:31:42 +0000
  • 2e4ef03aa3 * Increase the sqlite timeout. Eelco Dolstra 2010-03-08 10:35:45 +0000
  • 05fbf61f0e * nix-prefetch-url depends on sed (see http://hydra.nixos.org/build/311170). Eelco Dolstra 2010-03-05 18:26:47 +0000
  • 04791840f4 * Emit warning='1' or error='1' attributes for lines marked as warnings or errors with \e[w or \e[e. Eelco Dolstra 2010-03-05 12:54:58 +0000
  • bc6f7fc139 * Remove some unused functions. Eelco Dolstra 2010-03-04 13:03:26 +0000
  • fb6e223ddc * Synced with the trunk. Eelco Dolstra 2010-03-04 12:15:00 +0000
  • 5ff87c982e Eelco Dolstra 2010-03-03 16:17:09 +0000
  • e14e2399ed * Prevent a potential memory corruption problem if an ATerm garbage collection happens during fixAttrs(). Eelco Dolstra 2010-03-02 20:23:42 +0000
  • 158aa89317 * Ensure that make install' works without a prior make'. Eelco Dolstra 2010-03-02 20:22:46 +0000
  • 56af8e86e3 * Protect the true', false' and `__overrides' constants. Without an ATprotect call, these could be garbage collected, leading to weird crashes or wrong results. Eelco Dolstra 2010-03-02 20:09:12 +0000
  • 3f9e647ae8 * checkInterrupt() shouldn't be called from a destructor. Eelco Dolstra 2010-03-02 19:04:17 +0000
  • d8c5745c41 * Support static builds. Eelco Dolstra 2010-03-02 17:12:47 +0000
  • e07d7284a2 * Fix DESTDIR builds. Eelco Dolstra 2010-03-02 16:55:07 +0000
  • 5414b3b2db * Remove the --enable-static-nix flag. Eelco Dolstra 2010-03-02 16:40:40 +0000
  • 594eaddd11 * When using the included sqlite/aterm libraries, build with --enable-shared. * In libutil/libstore/libexpr etc., link against sqlite and aterm. * Some more header file hygiene. Eelco Dolstra 2010-03-02 15:58:13 +0000
  • 966ffb29a7 * Update the Valgrind suppressions for ATerm 2.5. Eelco Dolstra 2010-02-26 13:10:57 +0000
  • 24035b98b1 * Implement RemoteStore::queryValidPaths(). Eelco Dolstra 2010-02-26 12:05:01 +0000
  • e42401ee7b * Implement RemoteStore::queryDerivationOutputs(). Eelco Dolstra 2010-02-25 15:52:22 +0000
  • af565c348a * Support read-only access to the database. Eelco Dolstra 2010-02-24 16:44:43 +0000
  • e33f67ff0b * Refactor the upgrade / database initialisation logic a bit. Eelco Dolstra 2010-02-24 16:30:20 +0000
  • 84a4dd5ff0 * Don't use fdatasync since it doesn't work on Snow Leopard. * Don't refer to config.h in util.hh, because config.h is not installed (http://hydra.nixos.org/build/303053). Eelco Dolstra 2010-02-24 15:46:06 +0000
  • cfe742cfc5 * A function to query just the database id of a valid path. Eelco Dolstra 2010-02-24 15:07:23 +0000
  • 6baa2a2f5e Eelco Dolstra 2010-02-24 14:39:52 +0000
  • 9fd85c94de * Use `truncate' journal mode, which should be a bit faster. Eelco Dolstra 2010-02-24 14:22:34 +0000
  • fefd467539 * `helpText' is now zero-terminated. Eelco Dolstra 2010-02-24 13:24:27 +0000
  • 21b134b4e5 Eelco Dolstra 2010-02-24 13:13:39 +0000
  • a3c63d0d6c * Disable fsync() in SQLite if the fsync-metadata option is set to false. * Change the default for fsync-metadata' to true. * Disable fsync-metadata' in `make check'. Eelco Dolstra 2010-02-24 13:12:57 +0000
  • 90b6352d0a * Do registerValidPaths() in one transaction, which is much faster. E.g. it cuts the runtime of the referrers test from 50s to 23s. Eelco Dolstra 2010-02-24 12:48:00 +0000