guix/src/libexpr
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
..
attr-path.cc
attr-path.hh
common-opts.cc * Option --argstr for passing string arguments easily. (NIX-75) 2007-01-14 12:32:44 +00:00
common-opts.hh * Option --argstr for passing string arguments easily. (NIX-75) 2007-01-14 12:32:44 +00:00
eval.cc * Require that __overrides is defined as a non-recursive attribute 2008-08-26 14:05:59 +00:00
eval.hh
expr-to-xml.cc * Added an experimental feature suggested by Andres: ellipses ("...") 2008-08-14 14:00:44 +00:00
expr-to-xml.hh
get-drvs.cc * Evaluate attributes in sorted order for better determinism. 2008-08-25 14:31:29 +00:00
get-drvs.hh * nix-env -i: instead of breaking package ties by version, break them 2007-05-01 20:33:18 +00:00
lexer.l * Added an experimental feature suggested by Andres: ellipses ("...") 2008-08-14 14:00:44 +00:00
Makefile.am * Export the nix-env derivation name parsing and version comparison 2008-07-01 10:10:32 +00:00
names.cc * Export the nix-env derivation name parsing and version comparison 2008-07-01 10:10:32 +00:00
names.hh * Export the nix-env derivation name parsing and version comparison 2008-07-01 10:10:32 +00:00
nix.sdf First attempt to update Nix SDF grammar to match the actual bison grammar 2008-06-04 14:36:46 +00:00
nixexpr-ast.def * Another experimental feature: a way to truly override attributes in 2008-08-14 16:59:37 +00:00
nixexpr.cc * Added an experimental feature suggested by Andres: ellipses ("...") 2008-08-14 14:00:44 +00:00
nixexpr.hh * Added an experimental feature suggested by Andres: ellipses ("...") 2008-08-14 14:00:44 +00:00
parser.hh
parser.y * Added an experimental feature suggested by Andres: ellipses ("...") 2008-08-14 14:00:44 +00:00
primops.cc * Unify the treatment of sources copied to the store, and recursive 2008-12-03 15:06:30 +00:00