about summary refs log tree commit diff
path: root/substitute.mk
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2011-04-10T23·22+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2011-04-10T23·22+0000
commit5591fcc5292616e99d9d2478ffeb4f1b51f1899e (patch)
tree511b0c130f8541e2567565c99a3b1847f78723bb /substitute.mk
parent1e7e4f21ba910bcf9da89b14cf2424a4b0955bed (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 'substitute.mk')
0 files changed, 0 insertions, 0 deletions