lix/src/libstore
Eelco Dolstra 64519cfd65 * Unify the treatment of sources copied to the store, and recursive
SHA-256 outputs of fixed-output derivations.  I.e. they now produce
  the same store path:

  $ nix-store --add x
  /nix/store/j2fq9qxvvxgqymvpszhs773ncci45xsj-x

  $ nix-store --add-fixed --recursive sha256 x
  /nix/store/j2fq9qxvvxgqymvpszhs773ncci45xsj-x

  the latter being the same as the path that a derivation

    derivation {
      name = "x";
      outputHashAlgo = "sha256";
      outputHashMode = "recursive";
      outputHash = "...";
      ...
    };

  produces.

  This does change the output path for such fixed-output derivations.
  Fortunately they are quite rare.  The most common use is fetchsvn
  calls with SHA-256 hashes.  (There are a handful of those is
  Nixpkgs, mostly unstable development packages.)
  
* Documented the computation of store paths (in store-api.cc).
2008-12-03 15:06:30 +00:00
..
build.cc * Restore SIGPIPE to SIG_DFL when running the builder. This prevents 2008-11-14 15:46:45 +00:00
db.cc * Merged the no-bdb branch (-r10900:HEAD 2008-06-09 13:52:45 +00:00
db.hh * Get rid of the substitutes database table (NIX-47). Instead, if we 2007-08-12 00:29:28 +00:00
derivations-ast.def * Automatically upgrade <= 0.7 Nix stores to the new schema (so that 2005-02-09 09:50:29 +00:00
derivations.cc * Strip off the `.nix' suffix from the attribute name for files in 2008-08-25 13:31:57 +00:00
derivations.hh * Remove unnecessary inclusions of aterm2.h. 2006-09-04 22:08:40 +00:00
gc.cc * GC option `--max-atime' that specifies an upper limit to the last 2008-09-17 14:52:35 +00:00
globals.cc * Nix daemon: reload the configuration file after forking (NIX-100). 2008-11-20 12:25:11 +00:00
globals.hh * Nix daemon: reload the configuration file after forking (NIX-100). 2008-11-20 12:25:11 +00:00
local-store.cc * Unify the treatment of sources copied to the store, and recursive 2008-12-03 15:06:30 +00:00
local-store.hh * Unify the treatment of sources copied to the store, and recursive 2008-12-03 15:06:30 +00:00
Makefile.am * Merged the no-bdb branch (-r10900:HEAD 2008-06-09 13:52:45 +00:00
misc.cc * nix-env --dry-run: show the total size of the substituter 2008-08-04 12:29:04 +00:00
misc.hh * nix-env --dry-run: show the total size of the substituter 2008-08-04 12:29:04 +00:00
optimise-store.cc * `nix-store --optimise': handle files with >= 32000 hard links. 2008-06-18 14:13:00 +00:00
pathlocks.cc * GCC 4.3.0 (Fedora 9) compatibility fixes. Reported by Gour and 2008-05-21 11:17:31 +00:00
pathlocks.hh * GCC 4.3.0 (Fedora 9) compatibility fixes. Reported by Gour and 2008-05-21 11:17:31 +00:00
references.cc * GCC 4.3.0 (Fedora 9) compatibility fixes. Reported by Gour and 2008-05-21 11:17:31 +00:00
references.hh * Use a proper namespace. 2006-09-04 21:06:23 +00:00
remote-store.cc * Unify the treatment of sources copied to the store, and recursive 2008-12-03 15:06:30 +00:00
remote-store.hh * Unify the treatment of sources copied to the store, and recursive 2008-12-03 15:06:30 +00:00
store-api.cc * Unify the treatment of sources copied to the store, and recursive 2008-12-03 15:06:30 +00:00
store-api.hh * Unify the treatment of sources copied to the store, and recursive 2008-12-03 15:06:30 +00:00
upgrade-schema.cc * Merged the no-bdb branch (-r10900:HEAD 2008-06-09 13:52:45 +00:00
worker-protocol.hh * Pass the --no-build-output flag to the daemon. 2008-11-11 15:11:10 +00:00