Commit graph

  • 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
  • 5744dd5480 * Support the --attr / -A flag in nix-env as well. So now we can do, e.g., Eelco Dolstra 2006-07-25 11:53:22 +0000
  • 7a3a5d1608 * When there is a domain check, we have to evaluate the argument. Can't be lazy! Eelco Dolstra 2006-07-24 16:49:28 +0000
  • f4c5531d92 * New language feature: domain checks, which check whether a function argument has a valid value, i.e., is in a certain domain. E.g., Eelco Dolstra 2006-07-24 16:35:34 +0000
  • 88acffa20a * `touch' might not be in $PATH. Eelco Dolstra 2006-07-24 16:19:08 +0000
  • b545c669a0 * Tests for domain checks. Eelco Dolstra 2006-07-24 15:50:29 +0000
  • 57751fdb55 * Refactoring to support domain checks. Eelco Dolstra 2006-07-24 15:16:03 +0000
  • 9c3099d328 * Purify `make check'. Eelco Dolstra 2006-07-21 13:21:43 +0000
  • 7adaa6d446 * Test for runtime root finding. Eelco Dolstra 2006-07-21 12:46:54 +0000
  • dcded7da47 * Don't try to do DNS lookups. Eelco Dolstra 2006-07-21 12:28:25 +0000
  • a4273156c4 * Use $(libexecdir) to find find-runtime-roots.pl. Eelco Dolstra 2006-07-20 13:21:37 +0000
  • 410760c5ab * Doh. Eelco Dolstra 2006-07-20 12:58:51 +0000
  • ee2cf45d76 * Use debug(). Eelco Dolstra 2006-07-20 12:19:55 +0000
  • eca30e12e1 * svn:ignore. Eelco Dolstra 2006-07-20 12:18:10 +0000
  • c15f544356 * Call find-runtime-roots.pl from the garbage collector to prevent running applications etc. from being garbage collected. Eelco Dolstra 2006-07-20 12:17:25 +0000
  • ebcccbd358 * Added a tool to find additional roots for the garbage collector, such as open files, current directories, mmaped files, etc. This is inherently unportable, but it's easy to adapt this script to other platforms. Currently we call `lsof' and try to read various bits in /proc/NNN. Eelco Dolstra 2006-07-19 16:49:59 +0000
  • 88e54153dc * Add a precise test for hashDerivatioModulo. Eelco Dolstra 2006-07-19 15:49:29 +0000
  • 4f3725b167 * Better error messages (especially wrt types). Eelco Dolstra 2006-07-19 15:36:15 +0000
  • e10b830251 * Doh! Of couse we cannot memoize across scopes. Eelco Dolstra 2006-07-11 10:29:52 +0000
  • 2b4b0658fa * This expression has an undefined variable which isn't detected, so evaluation fails: Eelco Dolstra 2006-07-10 17:35:00 +0000
  • d51aede4af * Allow the canonical system name to be specified at runtime in the Nix config file. Eelco Dolstra 2006-07-06 15:30:37 +0000
  • a945fb7905 * `nix-env --upgrade --eq': only upgrade if the old version is equal to the new version. This is actually useful. Eelco Dolstra 2006-06-27 12:17:25 +0000
  • f4a3a280db * Apply the ATerm aliasing patch so that Nix works correctly with gcc 4.1.x. Eelco Dolstra 2006-06-22 13:01:42 +0000
  • dbf6d7e783 * Concurrent GC on Cygwin. Eelco Dolstra 2006-06-20 17:48:10 +0000
  • cc51f9c539 * Oops. Eelco Dolstra 2006-06-19 16:35:35 +0000
  • 5bb3444032 * _exit() doesn't seem to work right on Cygwin. Eelco Dolstra 2006-06-19 16:24:15 +0000
  • b35735d8b2 * On Windows we cannot delete open (lock) files, so we delete lock files after we've closed them. Since this only succeeds if the lock is no longer opened by any process, the token trick used on Unix is not necessary. Eelco Dolstra 2006-06-19 14:43:13 +0000
  • 0e783e5579 * Write messages to stderr in a slightly more atomic way. Useful when there are several parallel processes. Eelco Dolstra 2006-06-19 14:37:35 +0000
  • d7f40357e3 * Skip this test on Cygwin, too slow (and doesn't test anything Cygwin-specific). Eelco Dolstra 2006-06-16 13:27:36 +0000
  • c937b73622 * Show when we're blocked waiting for a lock. Eelco Dolstra 2006-06-16 10:13:03 +0000
  • 588cb0eade * In `nix-env -i|-u|-e', lock the profile to prevent races between concurrent nix-env operations on the same profile. Fixes NIX-7. Eelco Dolstra 2006-06-15 11:56:49 +0000
  • 49de87132f * Removed. Eelco Dolstra 2006-06-15 09:16:55 +0000
  • 48e4a3231b Eelco Dolstra 2006-06-14 13:31:23 +0000
  • b454977909 * Fix for a problem with BSD's group ownership semantics when the user is not in the "wheel" group. Eelco Dolstra 2006-06-14 11:53:55 +0000
  • 3a68622dda * Oops. Eelco Dolstra 2006-06-14 11:52:22 +0000
  • 370af25eff * Fix for a locking bug in Berkeley DB on Cygwin. Rob Vermaas 2006-06-07 15:27:17 +0000
  • 23960e92df * Minor cleanup. Eelco Dolstra 2006-06-01 18:13:33 +0000
  • 2d456fc35a * On Cygwin, set the system type to i686-cygwin, and disable dynamic linking. Eelco Dolstra 2006-05-31 11:50:14 +0000
  • bb84984f3f * svn:ignore. Eelco Dolstra 2006-05-31 10:58:47 +0000
  • 50fe85f016 * For fixed-output derivations, pass the environment variables listed in the attribute variable `impureEnvVars' from the caller to the builder. Eelco Dolstra 2006-05-31 09:51:45 +0000
  • 04cf72287b * This may be useful in the future. Eelco Dolstra 2006-05-31 09:24:54 +0000
  • 1390ce4142 * Not all platforms have sys/select.h. Eelco Dolstra 2006-05-30 11:37:21 +0000