about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2009-03-18 * Unify exportReferencesGraph and exportBuildReferencesGraph, and makeEelco Dolstra4-67/+40
sure that it works as expected when you pass it a derivation. That is, we have to make sure that all build-time dependencies are built, and that they are all in the input closure (otherwise remote builds might fail, for example). This is ensured at instantiation time by adding all derivations and their sources to inputDrvs and inputSrcs.
2009-03-18 * Improve the test.Eelco Dolstra1-2/+6
2009-03-18 * Better cleanup after tests.Eelco Dolstra1-5/+8
2009-03-18 * Missing file.Eelco Dolstra1-0/+1
2009-03-18 * Acquire the locks on the output paths before trying to run the buildEelco Dolstra4-150/+78
hook. This fixes a problem with log files being partially or completely filled with 0's because another nix-store process truncates the log file. It should also be more efficient.
2009-03-18 * Clean up some tests (use nix-build where appropriate).Eelco Dolstra7-34/+25
2009-03-17 * Regression test for exportBuildReferencesGraph. It currently fails.Eelco Dolstra3-6/+34
2009-03-17 * Refactoring: renamed *.nix.in to *.nix.Eelco Dolstra22-264/+209
2009-03-17 * Regression test for the `exportReferencesGraph'Eelco Dolstra8-33/+69
derivation attribute.
2009-03-17 * Cleanup.Eelco Dolstra1-22/+9
2009-03-09 * Make the version available to release.nix.Eelco Dolstra3-41/+15
2009-03-06 (no commit message)Eelco Dolstra1-1/+1
2009-03-06 (no commit message)Eelco Dolstra1-1/+1
2009-03-05 * Install some headers in the right location.Eelco Dolstra2-2/+6
2009-03-03 * Allow the channel to declare a name for itself.Eelco Dolstra1-0/+6
2009-02-27 * nix-install-package: don't pollute /nix/var/nix/manifests.Eelco Dolstra3-11/+11
2009-02-27 * Use the regular progress bar; the hash bar isn't very useful whenEelco Dolstra1-1/+1
the size of the download isn't known in advance.
2009-02-27 * nix-build: support --option.Eelco Dolstra1-0/+7
2009-02-27 * Allow options from the Nix config file to be overriden from theEelco Dolstra3-0/+21
command line (e.g. "--option build-use-chroot true").
2009-02-27 * nix-channel: use nix-build.Eelco Dolstra1-8/+6
2009-02-27 * Check the manifest version.Eelco Dolstra1-3/+4
2009-02-26 * Handle base-16 hashes in manifests.Eelco Dolstra1-1/+12
2009-02-19 * download-using-manifests: don't check the cryptographic hash ofEelco Dolstra1-18/+30
downloaded files; rather, check the hash of the unpacked store path. When the server produces bzipped NAR archives on demand (like Hydra does), the hash of the file is not known in advance; it's streamed from the server. Thus the manifest doesn't contain a hash for the bzipped NAR archive. However, the server does know the hash of the *uncompressed* NAR archive (the "NarHash" field), since it's stored in the Nix database (nix-store -q --hash /nix/store/bla). So we use that instead for checking the integrity of the download.
2009-02-19 Replace wrong (w.r.t. PATH) sed call with in-shell substitutionMichael Raskin1-1/+2
2009-02-16 * Release output locks as soon as possible, not when the destructor ofEelco Dolstra3-0/+14
the DerivationGoal runs. Otherwise, if a goal is a top-level goal, then the lock won't be released until nix-store finishes. With --keep-going and lots of top-level goals, it's possible to run out of file descriptors (this happened sometimes in the build farm for Nixpkgs). Also, for failed derivation, it won't be possible to build it again until the lock is released. * Idem for locks on build users: these weren't released in a timely manner for failed top-level derivation goals. So if there were more than (say) 10 such failed builds, you would get an error about having run out of build users.
2009-02-05 documentation for previous commitMarc Weber1-0/+30
2009-02-05 added primop functions __isBool, __isString, __isIntMarc Weber1-0/+25
2009-02-03 * Build hook: compress the transferred data.Eelco Dolstra1-2/+2
2009-02-02 * Build hooks: use nix-store --import. This prevents a redundantEelco Dolstra3-22/+29
scan for runtime dependencies (i.e. the local machine shouldn't do a scan that the remote machine has already done). Also pipe directly into `nix-store --import': don't use a temporary file.
2009-01-28 vim syntax: support for indented strings ('' .. '')Marc Weber1-1/+3
2009-01-27 Add the "addErrorContext" builtin to add more information in the stack trace.Nicolas Pierron1-0/+14
2009-01-27 * Make it compile on Debian 4.0 (which doesn't define PER_LINUX32_3GBEelco Dolstra1-1/+1
in sys/personality.h).
2009-01-13 * When using a build hook, distinguish between transient failuresEelco Dolstra2-6/+30
(e.g. an SSH connection problem) and permanent failures (i.e. the builder failed). This matters to Hydra (it wants to know whether it makes sense to retry a build).
2009-01-13 (no commit message)Eelco Dolstra1-1/+1
2009-01-12 * Support i686-linux builds directly on x86_64-linux NixEelco Dolstra2-2/+24
installations. This is implemented using the personality() syscall, which causes uname to return "i686" in child processes.
2009-01-12 * Make Nix build with Bison 2.4.Eelco Dolstra1-0/+1
2009-01-05 * Removed reference to losser.st-lab.cs.uu.nl, which is RIP after 9Eelco Dolstra1-1/+1
years of loyal service :-)
2008-12-16 * nix-store --verify: repair bad hash fields in the metadata file.Eelco Dolstra2-5/+16
2008-12-16 * Pass --use-atime / --max-atime to the daemon.Eelco Dolstra3-1/+9
2008-12-15 * Delete the chroot if it already exists (e.g. left over from anEelco Dolstra1-0/+1
interrupted build).
2008-12-12 * Put chroots in the Nix store. This ensures that we can create hardEelco Dolstra2-2/+14
links to the inputs.
2008-12-12 * Simplify deleting .lock files in /nix/store: just don't delete themEelco Dolstra4-34/+38
if they belong a path that's currently being built. This gets rid of some Cygwin-specific code.
2008-12-12 * Some hackery to make "make check" succeed on Cygwin.Eelco Dolstra2-0/+15
2008-12-12 * Detect whether unshare() is available.Eelco Dolstra2-4/+2
2008-12-12 * We can't use string objects in signal handlers because they mightEelco Dolstra1-4/+4
allocate memory, which is verboten in signal handlers. This caused random failures in the test suite on Mac OS X (triggered by the spurious SIGPOLL signals on Mac OS X, which should also be fixed).
2008-12-12 * Use a PathSet for the chroot directories so that we don'tEelco Dolstra1-6/+7
accidentally bind-mount a directory twice.
2008-12-12 * Define _GNU_SOURCE. Hopefully this fixes the build on Debian 4.0Eelco Dolstra1-0/+3
(http://hydra.nixos.org/nixlog/384/1).
2008-12-11 * Don't provide the whole Nix store in the chroot, but only theEelco Dolstra1-10/+44
closure of the inputs. This really enforces that there can't be any undeclared dependencies on paths in the store. This is done by creating a fake Nix store and creating bind-mounts or hard-links in the fake store for all paths in the closure. After the build, the build output is moved from the fake store to the real store. TODO: the chroot has to be on the same filesystem as the Nix store for this to work, but this isn't enforced yet. (I.e. it only works currently if /tmp is on the same FS as /nix/store.)
2008-12-11 * Revert r13150: now that we use private namespaces for the chroot, weEelco Dolstra4-9/+1
don't have to put the chroot in /nix/var/nix/chroots anymore. They're back in /tmp now.
2008-12-11 * Provide a minimal /etc/passwd in the chroot to keep some buildersEelco Dolstra1-1/+12
happy.