diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-04-10T23·22+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-04-10T23·22+0000 |
commit | 5591fcc5292616e99d9d2478ffeb4f1b51f1899e (patch) | |
tree | 511b0c130f8541e2567565c99a3b1847f78723bb /configure.ac | |
parent | 1e7e4f21ba910bcf9da89b14cf2424a4b0955bed (diff) |
* Cache the manifests in /nix/var/nix/manifests in a SQLite database.
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.
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions