Commit graph

  • 066da4ab85 * Really fix the substitute mechanism, i.e., ensure the closure invariant by registering references through the manifest. * Added a test for nix-pull. Eelco Dolstra 2005-01-25 17:08:52 +0000
  • c6290e42bc * Fix the `--fallback' switch. * Fix the substitutes tests. Eelco Dolstra 2005-01-25 13:00:12 +0000
  • 581fc47783 * Fix the build hook mechanism; pass the pointer graph to the hook. Eelco Dolstra 2005-01-25 11:55:43 +0000
  • 52bf9b86bb * In nix-store: added query `--referers-closure' that returns the closure of the referers relation rather than the references relation, i.e., the set of all paths that directly or indirectly refer to the given path. Note that contrary to the references closure this set is not fixed; it can change as paths are added to or removed from the store. Eelco Dolstra 2005-01-25 11:18:03 +0000
  • 80faa2f98a * In nix-store: change --build' back to --realise'. Also brought back the query flag `--force-realise'. * Fixed some of the tests. Eelco Dolstra 2005-01-25 10:55:33 +0000
  • 6a0a2d5593 * Terminology fixes. Eelco Dolstra 2005-01-20 16:01:07 +0000
  • 6bb5efadec * Ensure that derivation names and sources don't end in `.drv'. Eelco Dolstra 2005-01-20 15:25:01 +0000
  • 05f0430de1 * Another change to low-level derivations. The last one this year, I promise :-) This allows derivations to specify on *what* output paths of input derivations they are dependent. This helps to prevent unnecessary downloads. For instance, a build might be dependent on the devel' and lib' outputs of some library component, but not the `docs' output. Eelco Dolstra 2005-01-20 14:10:19 +0000
  • 6ff48e77f6 * Set the Perl search path properly (reported by Roy van den Broek). Eelco Dolstra 2005-01-19 21:55:02 +0000
  • e0f4e587c3 * Nix-store queries --references' and referers' to query the pointer graph. That is, nix-store --query --references PATH' shows the set of paths referenced by PATH, and nix-store --query --referers PATH' shows the set of paths referencing PATH. Eelco Dolstra 2005-01-19 16:59:56 +0000
  • 96de272b48 * Renamed normalise.cc' -> build.cc', storeexprs.cc' -> derivations.cc', etc. * Store the SHA-256 content hash of store paths in the database after they have been built/added. This is so that we can check whether the store has been messed with (a la `rpm --verify'). * When registering path validity, verify that the closure property holds. Eelco Dolstra 2005-01-19 16:39:47 +0000
  • ef5f254a55 * nix-store --build' now builds its arguments in parallel instead of sequentially (within the limits set by --jobs'). This should greatly improve the utilisation of the build farm when doing Nixpkgs builds. Eelco Dolstra 2005-01-19 15:02:02 +0000
  • 06c77bf7a8 * Change extension .store' to .drv'. * Re-enable `nix-store --query --requisites'. Eelco Dolstra 2005-01-19 14:36:00 +0000
  • 863dcff6c5 * Started removing closure store expressions, i.e., the explicit representation of closures as ATerms in the Nix store. Instead, the file system pointer graph is now stored in the Nix database. This has many advantages: Eelco Dolstra 2005-01-19 11:16:11 +0000
  • e9762e2d10 * Support arities > 6. Eelco Dolstra 2005-01-19 11:04:24 +0000
  • 6d493751c3 * Get --readonly-mode to work again. Eelco Dolstra 2005-01-18 11:15:50 +0000
  • 32aac8748a * Actually check that the result of fixed-output derivations matches the specified hash. Eelco Dolstra 2005-01-17 19:01:48 +0000
  • f3dc231250 * Removed the `id' attribute hack. Eelco Dolstra 2005-01-17 16:55:19 +0000
  • d58a11e019 * Shorten SHA-256 hashes used in store path name generation to 160 bits, then encode them in a radix-32 representation (using digits and letters except e, o, u, and t). This produces store paths like /nix/store/4i0zb0z7f88mwghjirkz702a71dcfivn-aterm-2.3.1. The nice thing about this is that the hash part of the file name is still 32 characters, as before with MD5. Eelco Dolstra 2005-01-14 16:04:03 +0000
  • 9530cc3170 * Start move towards SHA-256 hashes instead of MD5. * Start cleaning up unique store path generation (they weren't always unique; in particular the suffix ("-aterm-2.2", "-builder.sh") was not part of the hash, therefore changes to the suffix would cause multiple store objects with the same hash). Eelco Dolstra 2005-01-14 13:51:38 +0000
  • a7b94e87d7 * Missing file. Eelco Dolstra 2005-01-14 13:50:09 +0000
  • 9ee88bb2f2 * Use absolute paths. Eelco Dolstra 2005-01-14 13:50:00 +0000
  • 63791eb05b * Add SHA-256. * Tests for the various hashes. Eelco Dolstra 2005-01-14 12:03:04 +0000
  • 37b51a9aa6 * Removed some dead code. Eelco Dolstra 2005-01-14 10:16:33 +0000
  • 7e8961f720 * Added SHA-1 support. nix-hash' now has an option --type sha1' to select SHA-1 hashing. Eelco Dolstra 2005-01-13 17:39:26 +0000
  • 73992371a3 * Refactoring to support SHA-1. Eelco Dolstra 2005-01-13 15:44:44 +0000
  • d46b4262dc * Bump version number to 0.8. Eelco Dolstra 2005-01-12 13:23:12 +0000
  • b17e7cf979 * Script to remove patches from manifests. Eelco Dolstra 2005-01-12 10:40:59 +0000
  • 0bc41f632b * Print out less garbage. Eelco Dolstra 2005-01-12 10:37:18 +0000
  • 7d75616f2c * NEWS and manual update for release 0.7. Eelco Dolstra 2005-01-12 10:27:46 +0000
  • 6af4a5a71f * Prototype store optimiser. It searched the Nix store for identical files and hard-links them to each other to save disk space. Eelco Dolstra 2005-01-05 09:58:12 +0000
  • a03397be4c * Cygwin compatibility. Eelco Dolstra 2005-01-04 17:38:26 +0000
  • f28ea27d83 * Remove old stuff. Eelco Dolstra 2004-12-31 11:07:32 +0000
  • c53898cb65 * If a patch already exists, it must still be included in the manifest. Eelco Dolstra 2004-12-31 11:07:12 +0000
  • 35b76a81c4 * More instrumentation (statistics go to /nix/var/log/nix/downloads). Eelco Dolstra 2004-12-30 17:19:47 +0000
  • 3745cecc6a * Fix handling of chained patches: don't skip patches if intermediate paths are missing, etc. Eelco Dolstra 2004-12-30 17:09:57 +0000
  • 581bcb986f * Some logging for evaluation. Eelco Dolstra 2004-12-30 16:34:54 +0000
  • 6270aa727d * Propagate patches from the source distribution to the destination distribution insofar they are applicable. Eelco Dolstra 2004-12-29 22:17:26 +0000
  • 4f07ebc67e * Integrated bsdiff/bspatch 4.2 (from http://www.daemonology.net/bsdiff/bsdiff-4.2.tar.gz) into the source tree. The license is a bit peculiar, but it does allow verbatim copying, which is what we do here (i.e., so don't make any changes to the sources). Eelco Dolstra 2004-12-29 22:08:48 +0000
  • 54d8f08588 * Reject patches larger than the full archives they produce. Eelco Dolstra 2004-12-29 19:32:55 +0000
  • 2fdb27e7f2 * Atomic file replacement is good. Eelco Dolstra 2004-12-29 19:04:21 +0000
  • e1e9c036f9 * A utility to generate patches between releases based on their manifests. Eelco Dolstra 2004-12-29 18:58:15 +0000
  • 77fc1c6c5c * Use aterm 2.3.1. Eelco Dolstra 2004-12-29 17:29:24 +0000
  • 9022cf9adf * A small utility to add the Size and NarHash fields to old manifests. Eelco Dolstra 2004-12-28 21:12:00 +0000
  • 4bf58d5379 * Added a function to write manifests. Eelco Dolstra 2004-12-28 21:11:28 +0000
  • 3d1b2101cc * Place manifests in /nix/var/nix/manifests. * Use the new patch downloader. Eelco Dolstra 2004-12-20 16:38:50 +0000
  • 7eed57e784 * Sync with changed substitute mechanism. * Accept the NarHash line. * Clear substitutes in `nix-channel --update'. Eelco Dolstra 2004-12-20 14:57:03 +0000
  • 96c3d8a615 * I love test sets. Eelco Dolstra 2004-12-20 14:38:04 +0000
  • 8b9697e575 * An operation `nix-store --clear-substitutes' to remove all registered substitute mappings. Eelco Dolstra 2004-12-20 14:16:55 +0000
  • fa9259f5f5 * Simplify the substitute mechanism: - Drop the store expression. So now a substitute is just a command-line invocation (a program name + arguments). If you register a substitute you are responsible for registering the expression that built it (if any) as a root of the garbage collector. - Drop the substitutes-rev DB table. Eelco Dolstra 2004-12-20 13:43:32 +0000
  • 015beb7cd0 * Typo: genericBuilder -> genericBuild. Eelco Dolstra 2004-12-17 13:46:07 +0000
  • 4d25b0b0bb * Fix nix-pull. Eelco Dolstra 2004-12-16 15:31:50 +0000
  • f4041cc175 * Commit old changed to bdiff.sh - but bdiff.sh is obsolete. Eelco Dolstra 2004-12-16 14:59:05 +0000
  • 77970f8daf * Remove `prebuilts.conf' file, it's not like anybody was using it. * Add /nix/var/nix/manifests directory. Eelco Dolstra 2004-12-16 14:31:49 +0000
  • e3b051aeeb * Include the size of the bzipped archive (necessary for computing the cheapest download path), as well as the hash of the contents of the path (necessary for checking patch applicability). Eelco Dolstra 2004-12-13 16:56:18 +0000
  • 862f4c154e * Patch deployment. `download.pl' (intended to be used in the substitute mechanism) creates a store path by downloading full NAR archives and/or patches specified in the available manifests. Eelco Dolstra 2004-12-13 13:47:38 +0000
  • dca48aed34 * Allow an optional hash to be provided. This prevents redundant fetches. Eelco Dolstra 2004-12-13 13:35:36 +0000
  • 71926ee188 * Print out statistics comparing our performance to bzip2. Eelco Dolstra 2004-11-29 21:04:28 +0000
  • 13f77276d1 * utime() follows symlinks, so don't change the mtime if the file is a symlink. Eelco Dolstra 2004-11-29 19:22:16 +0000
  • eee6fe478e * Proof-of-concept for binary patch deployment. Eelco Dolstra 2004-11-29 19:12:55 +0000
  • f17553a212 * Remove debug statement. Eelco Dolstra 2004-11-29 15:30:44 +0000
  • 4115d8d8ce * Canonicalise metadata of all files in store paths (set the mtime to 0, set the mode to either 444 or 555, set the group to the default). Eelco Dolstra 2004-11-29 15:09:29 +0000
  • 5d5318c2ff * Bump version number to 0.7. Eelco Dolstra 2004-11-14 14:00:45 +0000
  • 9f8964a062 * More manual fixes. Eelco Dolstra 2004-11-14 10:42:16 +0000
  • 0b79a12082 * Manual fixes. Eelco Dolstra 2004-11-14 00:24:57 +0000
  • 54c7a870d5 * Document --delete-generations and other nix-env options. Eelco Dolstra 2004-11-12 23:56:37 +0000
  • c2b0d6b02f * Document --eval-only and --parse-only options in nix-instantiate. Eelco Dolstra 2004-11-12 23:22:08 +0000
  • 32c7326850 * Typos. Eelco Dolstra 2004-11-09 14:06:56 +0000
  • 92ee003dc9 * Fix broken format string. Eelco Dolstra 2004-11-08 15:20:52 +0000
  • d6db574ec1 * Check exit status of pipe elements. Eelco Dolstra 2004-11-08 11:32:10 +0000
  • b8aaef5e4e * Documented the standard environment, including the generic builder. Eelco Dolstra 2004-11-07 22:12:16 +0000
  • 2c3b29c5ca * Everything you always wanted to know about functions and derivations but were afraid to ask. Eelco Dolstra 2004-11-07 20:36:45 +0000
  • ea6581b691 * Drop the grammar appendix. Eelco Dolstra 2004-11-07 20:36:10 +0000
  • 09e7f06818 * Put something in here. Eelco Dolstra 2004-11-07 20:30:02 +0000
  • 1bac7a10e6 * Operators, comments. Eelco Dolstra 2004-11-07 18:58:49 +0000
  • 55b35d6d77 * Lets, inheritance, assertions. Eelco Dolstra 2004-11-07 13:53:07 +0000
  • 0b1ee4802b * Typo fix. Eelco Dolstra 2004-11-05 21:12:23 +0000
  • 5f0300d18c * Generic builders. Eelco Dolstra 2004-11-05 21:11:01 +0000
  • 3e9d2038b4 * Start of language reference. Eelco Dolstra 2004-11-05 15:39:30 +0000
  • 6ca9c7f0a9 * Finished GNU Hello walkthrough. Eelco Dolstra 2004-11-05 13:10:08 +0000
  • 8b934694f2 * Manual: writing Nix expressions. Eelco Dolstra 2004-11-04 20:21:08 +0000
  • feb3ceaee0 * Better error messages. Eelco Dolstra 2004-11-04 20:20:39 +0000
  • cb7ccb528b * string2ATerm -> overloaded toATerm. Eelco Dolstra 2004-11-03 18:12:03 +0000
  • 4cbd845aa4 * Don't propagate our CFLAGS to the ATerm library since it breaks at -O2. Eelco Dolstra 2004-11-03 16:51:09 +0000
  • 5f2c5a306c * chapter -> appendix. Eelco Dolstra 2004-11-02 08:25:29 +0000
  • 0913f5a615 * Section about channels. Eelco Dolstra 2004-11-01 16:21:37 +0000
  • ee5dcfade2 * Section about garbage collection. Eelco Dolstra 2004-11-01 16:03:35 +0000
  • cbe8de592d * Profiles section. Eelco Dolstra 2004-11-01 12:02:44 +0000
  • b05a596d61 * Document setuid Nix installs. Eelco Dolstra 2004-10-31 17:08:48 +0000
  • 0d80d237c5 * Add figures to make install' / make dist'. Eelco Dolstra 2004-10-31 16:13:25 +0000
  • 2aa1f4717b * Fix File exists' errors if the result' symlink exists but is dangling. Eelco Dolstra 2004-10-31 12:01:16 +0000
  • f8ac8d1ec8 * Began adding build farm docs. Eelco Dolstra 2004-10-29 15:26:26 +0000
  • a69534fc21 * Drop ATmake / ATMatcher also in handling store expressions. Eelco Dolstra 2004-10-29 11:22:49 +0000
  • ed09821859 * Use atdiff' instead of cmp' for checking test output. * Don't use local file names in tests since they will produce different parse trees depending on the current directory. Eelco Dolstra 2004-10-27 13:12:58 +0000
  • 3277c9432a * Bug fix in parsing of /* ... */ comments; due to longest match regexp there could be only one such comment per file. Eelco Dolstra 2004-10-27 13:00:31 +0000
  • 463e2817c5 * Remove ancient Fix tests. * Add automated Nix expression language tests. Eelco Dolstra 2004-10-27 12:41:53 +0000
  • f09618b63a * Turn on read-only mode in queries. This prevents redundant store I/O. Eelco Dolstra 2004-10-27 10:24:44 +0000
  • c7bea941b0 * Oops, I did it again. Eelco Dolstra 2004-10-27 10:05:51 +0000
  • 210ab0296d * Add file to `make dist'. Eelco Dolstra 2004-10-27 00:02:31 +0000
  • c52dda95a6 * Bug: check that term is an application. Eelco Dolstra 2004-10-26 23:30:18 +0000