about summary refs log tree commit diff
path: root/release.nix
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-02-19T23·46+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-02-19T23·46+0000
commit041717eda399de5ddbe2a147bafedf1a39993f8e (patch)
tree0a148424a66c82763be68c29b6797d60e302a711 /release.nix
parent621093cb1c142e125ed1c534fc0c23c1e8404a66 (diff)
* download-using-manifests: don't check the cryptographic hash of
  downloaded files; rather, check the hash of the unpacked store
  path.

  When the server produces bzipped NAR archives on demand (like Hydra
  does), the hash of the file is not known in advance; it's streamed
  from the server.  Thus the manifest doesn't contain a hash for the
  bzipped NAR archive.  However, the server does know the hash of the
  *uncompressed* NAR archive (the "NarHash" field), since it's stored
  in the Nix database (nix-store -q --hash /nix/store/bla).  So we use
  that instead for checking the integrity of the download.

Diffstat (limited to 'release.nix')
0 files changed, 0 insertions, 0 deletions