Commit graph

  • 1bdc152931 * Shut up a warning. Eelco Dolstra 2006-09-20 16:36:29 +0000
  • 1b804f88e4 * Absolute path to rm (NIX-51). * Don't hardcore /nix/bin and /nix/store. Eelco Dolstra 2006-09-20 16:23:14 +0000
  • 0623359fbc * Print a better error message for wrong hashes (NIX-49). Eelco Dolstra 2006-09-20 16:15:32 +0000
  • 22d13d6ec2 * Check for patch (NIX-59). Eelco Dolstra 2006-09-20 15:28:47 +0000
  • 947e645789 * Hide warnings about a missing "lsof" (NIX-54). Eelco Dolstra 2006-09-20 15:14:19 +0000
  • a060adf165 * Use paths, not strings, when calling the function that generates NARs. Fixes the impurity of nix-push (NIX-21). * Better help. Eelco Dolstra 2006-09-20 15:04:04 +0000
  • 7dd342e482 * Doh. Eelco Dolstra 2006-09-19 16:40:22 +0000
  • ee6cf99660 * Doh! Of course we have to take execute permission into account. * Restore the mtime on modified directories. Eelco Dolstra 2006-09-19 16:14:15 +0000
  • 6dbed1bf38 * `optimise-store.pl' reduces disk space consumption by hard-linking all identitical files in the Nix store to each other. (Previously it only computed the size that would be saved by doing so.) Eelco Dolstra 2006-09-19 14:58:35 +0000
  • 07cec27848 * Cleanups. Eelco Dolstra 2006-09-19 14:27:28 +0000
  • 9488ae7357 * `show-duplication.pl', a small utility that shows the amount of package duplication present in (e.g.) a profile. It shows the number of instances of each package in a closure, along with the size in bytes of each instance as well as the "waste" (the difference between the sum of the sizes of all instances and the average size). Eelco Dolstra 2006-09-19 13:53:35 +0000
  • e0afaf1857 * Wow, that bug has been there since r764. Eelco Dolstra 2006-09-14 22:48:59 +0000
  • 86cbd93ec1 * nix-env --switch-generation / --list-generations / --delete-generations: lock the profile to prevent (extremely unlikely) race conditions. Eelco Dolstra 2006-09-14 22:33:53 +0000
  • 5c38c863bd * Fix a huge gaping hole in nix-env w.r.t. the garbage collector. Nix-env failed to call addPermRoot(), which is necessary to safely add a new root. So if nix-env started after and finished before the garbage collector, the user environment (plus all other new stuff) it built might be garbage collected, leading to a dangling symlink chain in ~/.nix-profile... Eelco Dolstra 2006-09-14 22:30:33 +0000
  • f00bc4c94c * "Too many links" error. Eelco Dolstra 2006-09-12 09:29:28 +0000
  • 01d169f817 * Support `++'. * More follow restrictions on layout. Eelco Dolstra 2006-09-11 13:05:15 +0000
  • feb63da431 * Remove debug message. Eelco Dolstra 2006-09-08 09:31:07 +0000
  • a04a65d7a5 * Release notes. Eelco Dolstra 2006-09-06 14:29:49 +0000
  • 2e210b2387 * Convenience option `nix-collect-garbage -d' (--delete-old): removes old generations of *all* profiles in /nix/var/nix/profiles, then runs the garbage collector. Quick way to get rid of all old stuff. Of course, one cannot roll back to earlier points in time after this. Eelco Dolstra 2006-09-06 14:23:04 +0000
  • 89ac8db74f * Package the include directory. Eelco Dolstra 2006-09-05 11:34:50 +0000
  • a89a201598 * Missing #include. Eelco Dolstra 2006-09-05 10:32:47 +0000
  • fc195519b5 * Sone missing #includes. Eelco Dolstra 2006-09-05 08:54:48 +0000
  • bafc1690fc * Move setuid stuff to libutil. * Install libexpr header files. Eelco Dolstra 2006-09-04 22:55:28 +0000
  • e5a6c09b12 * Install header files in /nix/include/nix. Eelco Dolstra 2006-09-04 22:41:36 +0000
  • 4be5443882 * Remove unnecessary inclusions of aterm2.h. Eelco Dolstra 2006-09-04 22:08:40 +0000
  • 2382a729e0 * Don't need extern "C". Eelco Dolstra 2006-09-04 21:50:39 +0000
  • e3ce954582 * Compile the lexer as C++ code. Remove all the redundant C/C++ marshalling code. Eelco Dolstra 2006-09-04 21:36:15 +0000
  • 75068e7d75 * Use a proper namespace. * Optimise header file usage a bit. * Compile the parser as C++. Eelco Dolstra 2006-09-04 21:06:23 +0000
  • aab8812732 * Store the Nix libraries in ${libdir}/nix instead of ${libdir}. Eelco Dolstra 2006-09-04 15:12:24 +0000
  • 7974aae81c * New primop: builtins.toFile, which writes a string into the store and returns its path. This can be used to (for instance) write builders inside a Nix expression, e.g., Eelco Dolstra 2006-09-01 12:07:31 +0000
  • de90fdf908 * Allow "$" in strings as long as they are not followed by "{". (Too bad flex doesn't have lexical restrictions, the current solution isn't quite right...) Eelco Dolstra 2006-09-01 12:04:06 +0000
  • c9586b6c3f * Fix race condition in the test. Eelco Dolstra 2006-09-01 12:02:39 +0000
  • c25f688e23 * Doh! Doh! Doh! Eelco Dolstra 2006-08-31 15:38:43 +0000
  • 354d58b3d7 * Better error checking. Eelco Dolstra 2006-08-31 11:40:39 +0000
  • f93f7b75be * Okay, that's a bit harder than expected. Eelco Dolstra 2006-08-30 13:10:04 +0000
  • dce1afdc67 * TDD: == should do a deep equality test, i.e., it should strictly evaluate its arguments. Eelco Dolstra 2006-08-30 12:25:27 +0000
  • 3151bdea55 * Uninitialised variable. Eelco Dolstra 2006-08-30 12:00:27 +0000
  • 547b119f25 * Support singleton values and nested lists again in `args', but print a warning. Eelco Dolstra 2006-08-29 15:40:49 +0000
  • 2132d9ddeb * Fix the ~ operator. Eelco Dolstra 2006-08-29 15:29:38 +0000
  • 1f6616dabf * Backwards compatibility test for ~. Eelco Dolstra 2006-08-29 15:29:19 +0000
  • 1ec9f55741 * In toString, deal with nested lists properly (i.e., flatten them). Eelco Dolstra 2006-08-28 21:47:42 +0000
  • 1fca76870b * Removed processBinding, instead we now apply toString to all derivation attributes to flatten them into strings. This is possible since string can nowadays be wrapped in contexts that describe the derivations/sources referenced by the evaluation of the string. Eelco Dolstra 2006-08-28 13:31:06 +0000
  • 8a6080eb14 * Refactoring. Eelco Dolstra 2006-08-26 16:48:01 +0000
  • 4b66cebe7b * Remove those storePath attribute sets, we don't need 'em. Eelco Dolstra 2006-08-25 17:09:55 +0000
  • e5678b3435 * Map "ppc" to "powerpc" so that Linux on PowerPC will be reported as "powerpc-linux". Eelco Dolstra 2006-08-25 16:23:42 +0000
  • e64c4f5742 * Doh! (NIX-58) Eelco Dolstra 2006-08-25 13:36:17 +0000
  • bf738f0070 * Honour DESTDIR so that bzip2/bunzip2 get installed in the right location when building RPMs (fixes NIX-58). Eelco Dolstra 2006-08-25 12:14:57 +0000
  • 3e8dccf6ab * Escape newlines in XML attributes to prevent them from being normalised away. Eelco Dolstra 2006-08-24 15:02:39 +0000
  • 215ec2ddc6 * New primop __toXML (or builtins.toXML) to convert an expression to an XML representation stored in a string. This should be useful to pass structured information to builders. Eelco Dolstra 2006-08-24 14:34:29 +0000
  • f793caf936 * Refactoring. Eelco Dolstra 2006-08-24 14:16:55 +0000
  • da25d80152 * Strict evaluation and XML printing of lists. Eelco Dolstra 2006-08-24 14:03:39 +0000
  • 943ab38a0d * Refactoring: move strictEval to libexpr. Eelco Dolstra 2006-08-24 13:39:22 +0000
  • f41297fdce * Allow --arg in nix-env as well, example: Eelco Dolstra 2006-08-23 16:33:21 +0000
  • 9638f3f393 * Pass the autoArgs to findAlongAttrPath so that "nix-instantiate foo.nix -A attr --arg name value" will work if (name, value) is needed in the evaluation leading up to "attr". Eelco Dolstra 2006-08-23 16:20:14 +0000
  • b19cebc513 * Quotes. Eelco Dolstra 2006-08-23 15:46:27 +0000
  • 38f18aa6d4 * New primop: abort "error message". Eelco Dolstra 2006-08-23 15:46:00 +0000
  • 4a053bfdfd * A new primop builtins', which returns an attribute set containing all the primops. This allows Nix expressions to test for new primops and take appropriate action if they're not available. For instance, rather than calling a primop foo' directly, they could say `if builtins ? foo then builtins.foo ... else ...'. Eelco Dolstra 2006-08-23 14:39:11 +0000
  • 68515b5a96 * Release notes. Eelco Dolstra 2006-08-22 13:19:06 +0000
  • 561a07f51d * Revert unintentional commit. Eelco Dolstra 2006-08-22 13:18:51 +0000
  • 93d9797eda * Urgh (see NIX-56). Eelco Dolstra 2006-08-22 09:34:38 +0000
  • 1a9a1f2768 * Convert to DocBook 5. * Use Jing for RelaxNG validation, xmllint seems buggy. Eelco Dolstra 2006-08-21 16:05:11 +0000
  • cc0505f033 * Distribute *.exp.xml. Eelco Dolstra 2006-08-17 12:21:39 +0000
  • 4874fd2d9a * Test for `nix-instantiate --eval-only --xml'. Eelco Dolstra 2006-08-17 11:28:29 +0000
  • 24e234a2fa * Print attributes in sorted order, rather than the arbitrary order produced by ATermMap. Necessary for testing. * `--strict' should also work on stdin. Eelco Dolstra 2006-08-17 08:53:08 +0000
  • 22ba63df16 * More XML output. --strict' to strictly evaluate attribute sets and so on. * Removed --print-args', it's subsumed by `--eval-only --xml'. Eelco Dolstra 2006-08-16 21:59:53 +0000
  • 18e4ac0fc6 * `nix-instantiate --{eval|parse}-only --xml': print an XML representation instead of an ATerm. * Indent XML output. Eelco Dolstra 2006-08-16 10:32:30 +0000
  • fe101fa785 * Meh. Eelco Dolstra 2006-08-16 10:29:43 +0000
  • 2670642733 * Handle carriage returns. Fixes NIX-53. Eelco Dolstra 2006-08-16 10:28:44 +0000
  • bfe19b3c37 * A test for NIX-53. Eelco Dolstra 2006-08-16 10:23:02 +0000
  • 3e5b68068b On cygwin, disable the check that the output is not group or world writable. File permissions on Cygwin are rather complex, and in this case this check introduced a problem with build jobs invoke from outside of Cygwin (MSYS). It seemed almost impossible to fix the permissions of the directory, so for now this safety check is disabled on Cygwin. Martin Bravenboer 2006-08-15 21:37:48 +0000
  • 7455fd8835 * Put the value in an attribute. Eelco Dolstra 2006-08-14 14:24:18 +0000
  • 4250b641d8 * `nix-store --gc --print-dead': print the total size of the store objects that would be freed. Eelco Dolstra 2006-08-11 20:26:49 +0000
  • 92f7dfa5b7 * Don't assume that paths returned by the runtime root finder are valid. Eelco Dolstra 2006-08-11 20:15:20 +0000
  • d19b6521fc * New configuration setting build-max-jobs' which sets the default for the -j' flag (i.e., the maximum number of jobs to execute in parallel). Useful on multi-processor machines. Eelco Dolstra 2006-08-10 20:19:13 +0000
  • 3e239a37ff * file:/ -> file:// Eelco Dolstra 2006-08-09 19:37:23 +0000
  • f1aa71a92f * Fix the help message wrt --attr. Eelco Dolstra 2006-08-09 15:12:34 +0000
  • a18d02e0b0 * Print a warning that the subpath operator (~) is deprecated. Eelco Dolstra 2006-08-09 15:08:47 +0000
  • c0bfcbdd45 rework the --target flag. If this flag is used, a URI should be given. Default values are not changed. Armijn Hemel 2006-08-08 15:42:33 +0000
  • a0607be7f4 * Workaround for a bug (?) in GCC 2.95. Eelco Dolstra 2006-08-07 19:48:38 +0000
  • 5a6b45e252 * In nar.nix, path -> storePath, otherwise we get a collision between environment variable names on Cygwin (where they are case insensitive). Eelco Dolstra 2006-08-07 18:22:57 +0000
  • a61129c48c add coreutils to the default PATH for this scripts, so we know for sure we have tools like rm, mkdir, and so on Armijn Hemel 2006-08-05 00:33:52 +0000
  • f1947cce93 prevent doing recursive chroots, by unsetting NIX_ROOT in the scripts. Armijn Hemel 2006-08-05 00:31:04 +0000
  • 1854f84e83 * Fix a few warnings. Eelco Dolstra 2006-08-04 17:07:13 +0000
  • dcff8cdb76 * Weird issue on Cygwin with the include file order. Eelco Dolstra 2006-08-04 16:01:26 +0000
  • f4a502a09a * Use old-school pipe opens; the new style is Perl >= 5.8.0. Eelco Dolstra 2006-08-04 11:51:46 +0000
  • 981eff065b * Remove the dependency on `date', use strftime instead. Eelco Dolstra 2006-08-04 11:45:50 +0000
  • 339e6f0e1d * `nix-env -q --xml': show query result in XML format for easier automated processing. Eelco Dolstra 2006-08-03 15:52:09 +0000
  • 0e267e2625 * `nix-instantiate --print-args': produce XML output so that the result can be used more easily by scripts. Eelco Dolstra 2006-08-03 14:49:57 +0000
  • 4750f6c5ed * Simple class for writing XML files. Eelco Dolstra 2006-08-03 13:21:21 +0000
  • fcb784051f urgh...for some weird reason this one-liner was not in svn. PEBKAC! Armijn Hemel 2006-08-03 11:48:09 +0000
  • a29b64a231 * Better error checking. Eelco Dolstra 2006-08-01 13:50:10 +0000
  • 4fde308ec0 add a flag --target, so we can override the URL in the MANIFEST file. This is only for local copies (so file:///) Armijn Hemel 2006-08-01 13:15:55 +0000
  • 601a8eab79 * Ugh. Darwin's chmod insists that flags come before the mode specification. Eelco Dolstra 2006-08-01 12:00:37 +0000
  • 6ac237e242 * Show some progress. Eelco Dolstra 2006-08-01 09:43:41 +0000
  • 4661282fde * `nix-instantiate ... --arg NAME VALUE': allow arguments to be passed to functions from the command line. * nix-build: started removing backticks. Eelco Dolstra 2006-07-28 16:03:28 +0000
  • c11839d7b2 * `nix-instantiate --print-args': print out the valid values for functions arguments that have a domain. Eelco Dolstra 2006-07-28 14:01:29 +0000
  • ca2238cf81 * Refactoring: get the selection path stuff out of getDerivations() and put it into a separate function findAlongAttrPath(). Eelco Dolstra 2006-07-26 15:05:15 +0000
  • 2317d8f671 * `nix-instantiate --print-args' prints out the arguments of a top-level function. Eelco Dolstra 2006-07-25 21:21:50 +0000
  • 0e6dc72a7a * Applied rbroek's patch from the branch at https://svn.cs.uu.nl:12443/repos/trace/buildfarm-control/trunk/ext/nix/, with some modifications. This allows nix-env -qa' to show the attribute path that can be used to unambiguously install a package using nix-env -i -A'. Example: Eelco Dolstra 2006-07-25 16:40:38 +0000
  • b11aeb2c4b * Doh. Eelco Dolstra 2006-07-25 13:15:23 +0000