aboutsummaryrefslogtreecommitdiff
path: root/src/nix/local.mk
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-04-28 15:10:29 +0200
committerEelco Dolstra <edolstra@gmail.com>2017-04-28 15:24:05 +0200
commit41c4558afe04d1cad0d0ef3b18a1a8155b40b06e (patch)
tree22ea76ca305ae3bebf07ab31f426191c9cac6d0e /src/nix/local.mk
parent39b08f4c0c8851d96daa2b7d4e674b13c75afec7 (diff)
Fix hash computation when importing NARs greater than 4 GiB
This caused "nix-store --import" to compute an incorrect hash on NARs that don't fit in an unsigned int. The import would succeed, but "nix-store --verify-path" or subsequent exports would detect an incorrect hash. A deeper issue is that the export/import format does not contain a hash, so we can't detect such issues early. Also, I learned that -Wall does not warn about this.
Diffstat (limited to 'src/nix/local.mk')
0 files changed, 0 insertions, 0 deletions