lix/src/libstore
Eelco Dolstra 7f893b7a43 * Allow derivations to hint that they should not be built remotely
using the build hook mechanism, by setting the derivation attribute
  "preferLocalBuild" to true.  This has a few use cases:

  - The user environment builder.  Since it just creates a bunch of
    symlinks without much computation, there is no reason to do it
    remotely.  In fact, doing it remotely requires the entire closure
    of the user environment to be copied to the remote machine, which
    is extremely wasteful.

  - `fetchurl'.  Performing the download on a remote machine and then
    copying it to the local machine involves twice as much network
    traffic as performing the download locally, and doesn't save any
    CPU cycles on the local machine.
2010-08-04 12:13:58 +00:00
..
build.cc * Allow derivations to hint that they should not be built remotely 2010-08-04 12:13:58 +00:00
derivations.cc * Don't use an ostringstream in unparseDerivation(), because it's 2010-04-21 19:25:50 +00:00
derivations.hh * Sync with the trunk. 2010-05-12 22:13:09 +00:00
gc.cc * Set gc-keep-outputs' or gc-keep-derivations' to false with 2010-03-08 21:31:42 +00:00
globals.cc * No longer block while waiting for a lock on a store path. Instead 2009-03-23 01:05:54 +00:00
globals.hh * No longer block while waiting for a lock on a store path. Instead 2009-03-23 01:05:54 +00:00
local-store.cc * Okay, putting a lock on the temporary directory used by importPath() 2010-06-21 11:08:09 +00:00
local-store.hh * Okay, putting a lock on the temporary directory used by importPath() 2010-06-21 11:08:09 +00:00
Makefile.am * Sync with the trunk. 2010-05-12 22:13:09 +00:00
misc.cc * Sync with the trunk. 2010-05-12 22:13:09 +00:00
misc.hh * Made `nix-store -qR --include-outputs' much faster if there are 2010-01-25 17:18:44 +00:00
optimise-store.cc * Applied a patch from David Brown to prevent `nix-store --optimise' 2010-06-04 13:56:11 +00:00
pathlocks.cc * Revert r19797, and use a simpler solution: just don't monitor build 2010-02-03 21:38:41 +00:00
pathlocks.hh * Revert r19797, and use a simpler solution: just don't monitor build 2010-02-03 21:38:41 +00:00
references.cc 2009-03-30 19:35:55 +00:00
references.hh * Scan for references and compute the SHA-256 hash of the output in 2009-03-28 20:51:33 +00:00
remote-store.cc * Allow unprivileged users to do `nix-store --clear-failed-paths' and 2010-05-04 10:45:10 +00:00
remote-store.hh * Allow unprivileged users to do `nix-store --clear-failed-paths' and 2010-05-04 10:45:10 +00:00
schema.sql 2010-02-24 14:39:52 +00:00
store-api.cc * Revert r19650 (implement gc-keep-outputs by looking for derivations 2010-02-22 11:44:17 +00:00
store-api.hh * Sync with the trunk. 2010-06-21 07:55:38 +00:00
worker-protocol.hh * Allow unprivileged users to do `nix-store --clear-failed-paths' and 2010-05-04 10:45:10 +00:00