Files
nix/tests
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
..
2006-07-21 13:21:43 +00:00
2006-03-01 12:51:18 +00:00
2007-08-13 13:15:02 +00:00
2007-01-29 14:23:09 +00:00
2007-01-29 14:23:09 +00:00
2006-07-21 13:21:43 +00:00
2006-07-21 13:21:43 +00:00
2007-02-21 14:00:46 +00:00
2006-03-01 14:26:03 +00:00
2006-07-21 13:21:43 +00:00
2008-11-20 15:44:59 +00:00
2006-07-21 13:21:43 +00:00
2006-03-01 12:51:18 +00:00
2006-03-01 16:03:32 +00:00
2006-03-01 12:51:18 +00:00
2006-03-01 14:26:03 +00:00
2006-07-21 13:21:43 +00:00
2006-07-21 13:21:43 +00:00
2006-03-01 12:51:18 +00:00
2007-08-13 13:15:02 +00:00
2006-07-21 13:21:43 +00:00
2007-12-31 00:34:44 +00:00
2008-08-04 16:16:49 +00:00
2008-08-04 16:16:49 +00:00
2007-08-13 13:15:02 +00:00
2007-08-13 13:15:02 +00:00
2006-07-21 13:21:43 +00:00
2006-07-21 13:21:43 +00:00
2008-06-15 15:10:03 +00:00
2006-03-01 12:51:18 +00:00