about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2010-03-31 Make source location info in the XML output optional.Ludovic Courtès7-19/+29
* src/libexpr/expr-to-xml.cc (nix::showAttrs): Add `location' parameter. Provide location XML attributes when it's true. Update callers. (nix::printTermAsXML): Likewise. * src/libexpr/expr-to-xml.hh (nix::printTermAsXML): Update prototype; have `location' default to `false'. * src/nix-instantiate/nix-instantiate.cc (printResult, processExpr): Add `location' parameter; update callers. (run): Add support for `--no-location'. * src/nix-instantiate/help.txt: Update accordingly. * tests/lang.sh: Invoke `nix-instantiate' with `--no-location' for the XML tests. * tests/lang/eval-okay-toxml.exp, tests/lang/eval-okay-to-xml.nix: New files.
2010-03-31 Add source location information to the XML output.Ludovic Courtès1-5/+33
* src/libexpr/expr-to-xml.cc (nix::showAttrs): Dereference the attribute RHS. Add "path", "line", and "column" XML attributes to the node when source location information is available. (nix::printTermAsXML): Likewise for functions.
2010-03-31 Escape `>' signs in the XML output.Ludovic Courtès1-0/+1
* src/libutil/xml-writer.cc (nix::XMLWriter::writeAttrs): Escape `>'.
2010-03-23 * Doh.Eelco Dolstra2-20/+8
2010-03-23 * Test "with as; with bs;" since nobody knows what its semantics is.Eelco Dolstra1-1/+19
2010-03-19 * Clean up error messages in killUser().Eelco Dolstra1-4/+6
2010-03-17 * Bump version number.Eelco Dolstra1-1/+1
2010-03-17 (no commit message)Eelco Dolstra1-1/+1
2010-03-16 * Release notes for Nix 0.15.Eelco Dolstra1-0/+12
2010-03-16 * Fix building on Cygwin (http://hydra.nixos.org/build/325071).Eelco Dolstra1-1/+1
2010-03-16 * Fix a broken link (reported by Peter Koppstein).Eelco Dolstra1-1/+1
2010-03-14 Merge r20344 & r20346.Nicolas Pierron2-3/+10
2010-03-11 Uh. somehow a Makefile tab got in as spaces. Fixing.Lluís Batlle i Rossell1-1/+1
2010-03-11 Making 'bin2c' to be built with the compiler for the local system.Lluís Batlle i Rossell2-0/+12
I copied the configure.ac code about CC_FOR_BUILD from libX11.
2010-03-11 Show the build user's group in /etc/group in chroots.Ludovic Courtès1-0/+6
* src/libstore/build.cc (nix::DerivationGoal::startBuilder): Create /etc/group showing the build user's group.
2010-03-11 Fix thinko in r20547.Ludovic Courtès1-4/+4
* src/libstore/build.cc (nix::DerivationGoal::startBuilder): Fix the GID of the build user in /etc/passwd.
2010-03-11 Clear supplementary groups of `nixbld' in /etc/passwd in chroots.Ludovic Courtès1-4/+5
* src/libstore/build.cc (nix::DerivationGoal::startBuilder): Don't display any supplementary groups for `nixbld' in /etc/passwd.
2010-03-05 * nix-prefetch-url depends on sed (seeEelco Dolstra3-1/+3
http://hydra.nixos.org/build/311170).
2010-02-24 * Don't use fdatasync since it doesn't work on Snow Leopard.Eelco Dolstra4-10/+3
* Don't refer to config.h in util.hh, because config.h is not installed (http://hydra.nixos.org/build/303053).
2010-02-23 * Use ATerm 2.5.Eelco Dolstra4-12/+147
2010-02-23 * Run ATerm's `make check'.Eelco Dolstra1-0/+1
2010-02-16 * Since Hydra now escapes `+', `=' and `?' to %NN in URIs,Eelco Dolstra1-1/+4
nix-prefetch-url should unescape them, because `%' is not a valid character in store path names.
2010-02-12 * Typo. Reported by Peter Koppstein.Eelco Dolstra1-1/+1
2010-02-10 Don't rely on `PATH_MAX' on GNU.Ludovic Courtès1-0/+10
2010-02-10 Add `.gitignore'.Ludovic Courtès1-0/+262
2010-02-05 * Fix a broken link (reported by Bjorn Buckwalter).Eelco Dolstra1-1/+1
2010-02-04 * Bump.Eelco Dolstra1-1/+1
2010-02-04 * Grmbl. Timing-sensitive tests are evil.Eelco Dolstra1-1/+1
2010-02-04 (no commit message)Eelco Dolstra1-1/+1
2010-02-04 * "Fix" incorrect help message.Eelco Dolstra1-1/+1
2010-02-04 * Don't use ssh's -f flag since it leads to lots of lingering sshEelco Dolstra1-2/+12
processes.
2010-02-04 * Doh! The scope of $slotLock should extend to the end of the script,Eelco Dolstra1-1/+2
because otherwise the lock will be released at the end of the while loop.
2010-02-04 * Typo.Eelco Dolstra1-1/+1
2010-02-04 * Doh! Calling `system' in an END block causes the exit status in $?Eelco Dolstra1-1/+1
to be changed to 0.
2010-02-04 * Remove the `cat' calls when not using --gzip.Eelco Dolstra1-7/+7
2010-02-04 * Revert r19796 for now.Eelco Dolstra1-1/+1
2010-02-03 * Revert r19797, and use a simpler solution: just don't monitor buildEelco Dolstra4-37/+21
hooks for silence. It's unnecessary because the remote nix-store command is already monitoring the real build.
2010-02-03 * While waiting for a lock, print a sign of life every 5 minutes.Eelco Dolstra3-3/+27
This prevents remote builders from being killed by the `max-silent-time' inactivity monitor while they are waiting for a long garbage collection to finish. This happens fairly often in the Hydra build farm.
2010-02-03 * Respect @sysconfdir@.Eelco Dolstra1-1/+1
2010-02-03 * In the build hook, if connecting to a machine fails, try the otherEelco Dolstra3-73/+77
machines of the right type (if available). This makes the build farm more robust to failures.
2010-02-03 * Use SSH connection sharing in the remote build script.Eelco Dolstra1-36/+16
* Removed the Cygwin password hack since the problem is apparently fixed in Visual Studio.
2010-02-03 * nix-copy-closure: start only one SSH connection to the server, orEelco Dolstra3-5/+49
recycle an already existing connection (using OpenSSH's connection sharing feature).
2010-02-03 * Updated the release notes.Eelco Dolstra1-1/+5
2010-02-02 * Ugly hack to make `nix-channel' work on Cygwin.Eelco Dolstra1-0/+3
2010-02-02 * Don't do a chdir to $tmpDir. It's not necessary, and Windows doesn'tEelco Dolstra1-2/+0
support deleting the current directory.
2010-02-02 * Remove most Cygwin-specific code. Cygwin 1.7 implements advisoryEelco Dolstra4-112/+5
POSIX locks, and simulates Unix-style file deletion semantics sufficiently. Note that this means that Nix won't work on Cygwin 1.5 anymore.
2010-02-02 * If fdatasync() isn't available, use fsync().Eelco Dolstra2-0/+5
2010-01-29 * Added an option "fsync-metadata" to fsync() changes toEelco Dolstra6-28/+37
/nix/var/nix/db. * Removed the function writeStringToFile since it does (almost) the same thing as writeFile.
2010-01-29 * Don't consider a store path valid if its info file exists but isEelco Dolstra1-4/+36
zero bytes long. That makes Nix more robust in case of crashes (especially on ext4).
2010-01-25 * Made `nix-store -qR --include-outputs' much faster if there areEelco Dolstra3-41/+13
multiple paths specified on the command line (from O(n * m) to O(n + m), where n is the number of arguments and m is the size of the closure).