summary refs log tree commit diff
AgeCommit message (Collapse)Author
2011-07-06* Change the right-hand side of the ‘.’ operator from an attribute toEelco Dolstra
an attribute path. This is a refactoring to support default values.
2011-07-06* Test case.Eelco Dolstra
2011-07-06* In the ‘?’ operator, allow attribute paths. For instance, you canEelco Dolstra
write ‘attrs ? a.b’ to test whether ‘attrs’ has an attribute ‘a’ containing an attribute ‘b’. This is more convenient than ‘attrs ? a && attrs.a ? b’. Slight change in the semantics: it's no longer an error if the left-hand side of ‘?’ is not an attribute set. In that case it just returns false. So, ‘null ? foo’ no longer throws an error.
2011-07-04(no commit message)Eelco Dolstra
2011-06-30doc: Fix typo.Ludovic Courtès
2011-06-30Add support for the `build-timeout' and `--timeout' options.Ludovic Courtès
2011-06-27(no commit message)Eelco Dolstra
2011-06-27(no commit message)Eelco Dolstra
2011-05-03* Use SQLite 3.7.6.2.Eelco Dolstra
2011-04-19* nix-install-package: unset NIX_REMOTE because $NIX_MANIFESTS_DIREelco Dolstra
doesn't work when building through the Nix daemon. This also ensures an error message when the user doesn't have sufficient privileges to do nix-pull.
2011-04-19* Handle error messages from the Nix worker containing the `%'Eelco Dolstra
character. (Nix/216)
2011-04-11* `nix-env -ub' (`--prebuilt-only') didn't really work because itEelco Dolstra
checked too soon whether substitutes are available. That is, it did so for every available package, rather than those matching installed packages. This was very slow and subject to assertion failures. So do the check much later. Idem for `nix-env -qab' and `nix-env -ib'.
2011-04-11* Read manifests directly into the database, rather than first readingEelco Dolstra
them into memory. This brings memory use down to (more or less) O(1). For instance, on my test case, the maximum resident size of download-using-manifests while filling the DB went from 142 MiB to 11 MiB.
2011-04-11* Lock the database during updates.Eelco Dolstra
2011-04-11(no commit message)Eelco Dolstra
2011-04-11* configure: detect whether DBD::SQLite is present. If necessary theEelco Dolstra
location to DBI and DBD::SQLite can be passed with --with-dbi and --with-dbd-sqlite.
2011-04-11* Subtle bug: if you import File::stat in one module, it affects otherEelco Dolstra
modules as well. So use symbolic field names everywhere (which is nicer anyway).
2011-04-11* Create $manifestDir if it doesn't exist.Eelco Dolstra
2011-04-10* Cache the manifests in /nix/var/nix/manifests in a SQLite database.Eelco Dolstra
This significantly speeds up the download-using-manifests substituter, especially if manifests are very large. For instance, one "nix-build -A geeqie" operation that updated four packages using binary patches went from 18.5s to 1.6s. It also significantly reduces memory use. The cache is kept in /nix/var/nix/manifests/cache.sqlite. It's updated automatically when manifests are added to or removed from /nix/var/nix/manifests. It might be interesting to have nix-pull store manifests directly in the DB, rather than storing them as separate flat files, but then we would need a command line interface to delete manifests from the DB.
2011-04-06* Remove the localPaths feature in manifests since it's no longer usedEelco Dolstra
and redundant anyway.
2011-03-16* Print a better error message.Eelco Dolstra
2011-03-15* Fix a bug in the documentation (reported by Olexiy Buyanskyy,Eelco Dolstra
Nix/215).
2011-02-17(no commit message)Eelco Dolstra
2011-02-17* nix-push: handle the case where the hash is not set in the DB.Eelco Dolstra
2011-02-14* Build for Ubuntu 10.04.Eelco Dolstra
2011-02-14make nix-mode provide 'nix-modeFlorian Friesdorf
this enables (require 'nix-mode)
2011-02-10* Don't allocate a big initial GC address space on machines withEelco Dolstra
little RAM. Even if the memory isn't actually used, it can cause problems with the overcommit heuristics in the kernel. So use a VM space of 25% of RAM, up to 384 MB.
2011-02-09* Don't call GC_expand_hp unless we're actually using the garbageEelco Dolstra
collector.
2011-02-09Use $BDW_GC_LIBS instead of a custom variable.Ludovic Courtès
2011-02-09* A better fix. $boehmgc isn't set anywhere, we should use the flagsEelco Dolstra
returned by pkg-config.
2011-02-09* The GC library can't be found on SolarisEelco Dolstra
(http://hydra.nixos.org/build/890714), so don't build with GC support for now.
2011-02-09* Urgh, FreeBSD doesn't have a "seq" command.Eelco Dolstra
2011-02-09* Obsolete.Eelco Dolstra
2011-02-09* Remove obsolete directory.Eelco Dolstra
2011-02-09* Remove obsolete file.Eelco Dolstra
2011-02-09* Merged the SQLite branch.Eelco Dolstra
2011-02-09* Sync with the trunk.Eelco Dolstra
2011-02-08(no commit message)Eelco Dolstra
2011-02-05* Propagate the CC setting.Eelco Dolstra
2011-02-05* Clang compatibility fix. Clang actually checks template definitionsEelco Dolstra
when they are defined
2011-01-14Remove useless <config.h> inclusion from public header.Ludovic Courtès
2011-01-14* builtins.substring: if "start" is beyond the end of the string,Eelco Dolstra
return the empty string.
2010-12-22* In Hydra manifests the Size field is missing, so don't rely on it.Eelco Dolstra
This caused a lot of "Use of uninitialized value" warnings from Perl.
2010-12-17* Do a short sleep after SQLITE_BUSY.Eelco Dolstra
2010-12-17* Propagate the "100" exit status for failed builds through the NixEelco Dolstra
daemon.
2010-12-17* Use the right `make'.Eelco Dolstra
2010-12-15* Disable X11 forwarding, it's not needed.Eelco Dolstra
2010-12-15* nix-copy-closure: make sure that the shell doesn't do globbing ofEelco Dolstra
`+' and `?' in filenames. This is very slow if /nix/store is very large. (This is a quick hack - a cleaner solution would be to bypass the shell entirely.)
2010-12-14* I forgot to catch SQLiteBusy in registerValidPaths(). SoEelco Dolstra
registerValidPaths() now handles busy errors and registerValidPath() is simply a wrapper around it.
2010-12-13* nix-instantiate: return exit status 100 to denote a permanent buildEelco Dolstra
failure. The build hook can use this to distinguish between transient and permanent failures on the remote side.