Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2005-09-16 | * Set the current directory to something well-defined. Might help in | Eelco Dolstra | 1 | -0/+2 | |
setuid installations. | |||||
2005-09-16 | * Include the release notes in the manual. | Eelco Dolstra | 1 | -0/+5 | |
2005-09-15 | * Force release notes in ASCII, not UTF-8. | Eelco Dolstra | 1 | -1/+1 | |
2005-09-15 | * Check for w3m. | Eelco Dolstra | 3 | -3/+10 | |
2005-09-15 | * Use a proper temporary directory. | Eelco Dolstra | 1 | -7/+19 | |
2005-09-15 | * This is not a GNU project :-P | Eelco Dolstra | 1 | -1/+1 | |
2005-09-14 | * Remove dead code. | Eelco Dolstra | 1 | -6/+0 | |
2005-09-14 | * Release notes in Docbook; ASCII release notes (i.e., the `NEWS' | Eelco Dolstra | 6 | -332/+581 | |
file) is now generated from that using `w3m' and some XSL hackery. | |||||
2005-09-14 | * List concatenation must be right-associative for efficiency. | Eelco Dolstra | 1 | -1/+1 | |
2005-09-13 | * Remove debugging code. | Eelco Dolstra | 1 | -9/+0 | |
2005-09-13 | * More debugging. | Eelco Dolstra | 1 | -0/+7 | |
2005-09-13 | * Debugging. | Eelco Dolstra | 1 | -0/+2 | |
2005-09-13 | * Missing #include. | Eelco Dolstra | 1 | -0/+2 | |
2005-09-13 | * Release notes. | Eelco Dolstra | 1 | -3/+53 | |
2005-09-01 | * Use aterm 2.4. | Eelco Dolstra | 1 | -3/+3 | |
2005-09-01 | * `nix-env -e' corrupts memory due to incorrect use of iterators. | Eelco Dolstra | 1 | -2/+6 | |
Reported by Rob Vermaas. | |||||
2005-08-14 | * `dependencyClosure' now allows a search path, e.g., | Eelco Dolstra | 5 | -33/+90 | |
dependencyClosure { ... searchPath = [ ../foo ../bar ]; ... } * Primop `dirOf' to return the directory part of a path (e.g., dirOf /a/b/c == /a/b). * Primop `relativise' (according to Webster that's a real word!) that given paths A and B returns a string representing path B relative path to A; e.g., relativise /a/b/c a/b/x/y => "../x/y". | |||||
2005-08-14 | * A primitive operation `dependencyClosure' to do automatic dependency | Eelco Dolstra | 6 | -30/+147 | |
determination (e.g., finding the header files dependencies of a C file) in Nix low-level builds automatically. For instance, in the function `compileC' in make/lib/default.nix, we find the header file dependencies of C file `main' as follows: localIncludes = dependencyClosure { scanner = file: import (findIncludes { inherit file; }); startSet = [main]; }; The function works by "growing" the set of dependencies, starting with the set `startSet', and calling the function `scanner' for each file to get its dependencies (which should yield a list of strings representing relative paths). For instance, when `scanner' is called on a file `foo.c' that includes the line #include "../bar/fnord.h" then `scanner' should yield ["../bar/fnord.h"]. This list of dependencies is absolutised relative to the including file and added to the set of dependencies. The process continues until no more dependencies are found (hence its a closure). `dependencyClosure' yields a list that contains in alternation a dependency, and its relative path to the directory of the start file, e.g., [ /bla/bla/foo.c "foo.c" /bla/bar/fnord.h "../bar/fnord.h" ] These relative paths are necessary for the builder that compiles foo.c to reconstruct the relative directory structure expected by foo.c. The advantage of `dependencyClosure' over the old approach (using the impure `__currentTime') is that it's completely pure, and more efficient because it only rescans for dependencies (i.e., by building the derivations yielded by `scanner') if sources have actually changed. The old approach rescanned every time. | |||||
2005-08-14 | * Cleanup; sync with thesis. | Eelco Dolstra | 3 | -19/+12 | |
2005-08-14 | * nix-hash: option `--truncate' to truncate the hash to 160 bits. Hmm, | Eelco Dolstra | 2 | -0/+4 | |
kind of ad hoc ;-) | |||||
2005-08-01 | * Add .libs to svn:ignore. Commit 3500 ;-) | Eelco Dolstra | 0 | -0/+0 | |
2005-08-01 | * Escape ASCII characters < 32 to Unicode FFFD (REPLACEMENT CHARACTER) | Eelco Dolstra | 1 | -1/+2 | |
so that we don't produce un-wellformed XML. | |||||
2005-08-01 | * Oops. XSL stylesheet to mark errors. | Eelco Dolstra | 1 | -0/+24 | |
2005-08-01 | * Mark error lines in red, and expand subtrees containing errors | Eelco Dolstra | 2 | -2/+14 | |
automatically. | |||||
2005-08-01 | * channels -> channels-v3, catamaran -> nix.cs.uu.nl. | Eelco Dolstra | 3 | -10/+9 | |
2005-07-25 | * Added a list concatenation operator: | Eelco Dolstra | 8 | -12/+29 | |
[1 2 3] ++ [4 5 6] => [1 2 3 4 5 6] | |||||
2005-07-25 | * Add $prefix/lib to the RPM. | Eelco Dolstra | 1 | -0/+1 | |
2005-07-25 | * Hack to get around the libtool wrapper script around nix-store not | Eelco Dolstra | 2 | -1/+5 | |
working when PATH is unset. | |||||
2005-07-22 | * Adhockery. | Eelco Dolstra | 1 | -0/+1 | |
2005-07-22 | * Build dynamic libraries. | Eelco Dolstra | 11 | -21/+27 | |
2005-07-19 | * Release notes. | Eelco Dolstra | 1 | -0/+16 | |
2005-07-19 | * Prevent repeated wrapping of closed terms | Eelco Dolstra | 1 | -1/+6 | |
(closed(closed(closed(...)))) since this reduces performance by producing bigger terms and killing caching (which incidentally also prevents useful infinite recursion detection). | |||||
2005-07-16 | * Wat cleanups. | Eelco Dolstra | 1 | -10/+5 | |
2005-07-16 | * Define paths using regexps, as is done in the Flex definition. | Eelco Dolstra | 1 | -5/+2 | |
2005-07-16 | * Make the rejects a bit more compact. | Eelco Dolstra | 1 | -7/+2 | |
* Add lexical restrictions for keywords. | |||||
2005-07-16 | * Fix ambiguity. | Eelco Dolstra | 1 | -0/+1 | |
2005-07-16 | * Revive and update the SDF grammar for Nix expressions. | Eelco Dolstra | 2 | -0/+149 | |
2005-07-13 | * nix-build: default to `./default.nix' if no paths are specified. | Eelco Dolstra | 3 | -29/+43 | |
So when using Nix as a build tool, you can just say `nix-build' and it will build the top-level derivation defined in `default.nix'. | |||||
2005-07-12 | * Add curl to the RPM dependencies. Should fix NIX-11. | Eelco Dolstra | 1 | -0/+1 | |
2005-07-12 | * In nix-instantiate, at top-level, call functions that have arguments | Eelco Dolstra | 1 | -0/+17 | |
with default values automatically. I.e., e -> e {}. This feature makes convenience expressions such as pkgs/system/i686-linux.nix in Nixpkgs obsolete, since we can just do $ nix-instantiate ./pkgs/system/all-packages.nix since all-packages.nix takes a single argument (system) that has a default value (__thisSystem). | |||||
2005-06-18 | * Don't create patches for archives >= 150 MB because bsdiff can't | Eelco Dolstra | 1 | -1/+13 | |
handle it. It crashed on the 234 MB tetex archive. Probably we will never be able to handle archives of that size on 32-bit machines (because bsdiff does everything in memory requiring max(17*n,9*n+m)+O(1) bytes, so the address space simply isn't there). | |||||
2005-05-18 | * Added a primop `removeAttrs' to remove attributes from a set, e.g., | Eelco Dolstra | 4 | -0/+29 | |
`removeAttrs attrs ["x", "y"]' returns the set `attrs' with the attributes named `x' and `y' removed. It is not an error for the named attributes to be missing from the input set. | |||||
2005-05-10 | * Ignore (with a warning) invalid garbage collector roots. | Eelco Dolstra | 1 | -1/+6 | |
2005-05-10 | * Some svn:ignores. | Eelco Dolstra | 0 | -0/+0 | |
2005-05-10 | * Another typo. | Eelco Dolstra | 1 | -1/+1 | |
2005-05-10 | * Make unpacking of patch sequences much faster by not doing redundant | Eelco Dolstra | 2 | -16/+38 | |
unpacking and repacking of intermediate paths. | |||||
2005-05-10 | * Typo. | Eelco Dolstra | 1 | -1/+1 | |
2005-05-09 | * Handle store path arguments in `nix-env -i' correctly again. | Eelco Dolstra | 1 | -9/+30 | |
2005-05-09 | * Use Berkeley DB 4.3.38. | Eelco Dolstra | 1 | -3/+3 | |
2005-05-09 | * Automatically upgrade the Berkeley DB environment if necessary. | Eelco Dolstra | 2 | -106/+133 | |