diff options
author | zimbatm <zimbatm@zimbatm.com> | 2020-06-03 12:38:23 +0200 |
---|---|---|
committer | zimbatm <zimbatm@zimbatm.com> | 2020-06-03 13:49:51 +0200 |
commit | 6ee03b8444e1838b9985a9fd4f0f46947e958b3b (patch) | |
tree | e40d764bc72255778bf3e9e21355973c619b8dc5 /src/libstore/export-import.cc | |
parent | 01572c2198de49071827f0be9f5db202bac21703 (diff) |
libutils/hash: remove default encoding
This will make it easier to reason about the hash encoding and switch to
SRI everywhere where possible.
Diffstat (limited to 'src/libstore/export-import.cc')
-rw-r--r-- | src/libstore/export-import.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/export-import.cc b/src/libstore/export-import.cc index f0d01a240..54471d4a3 100644 --- a/src/libstore/export-import.cc +++ b/src/libstore/export-import.cc @@ -57,7 +57,7 @@ void Store::exportPath(const StorePath & path, Sink & sink) Hash hash = hashAndWriteSink.currentHash(); if (hash != info->narHash && info->narHash != Hash(info->narHash.type)) throw Error("hash of path '%s' has changed from '%s' to '%s'!", - printStorePath(path), info->narHash.to_string(), hash.to_string()); + printStorePath(path), info->narHash.to_string(Base32, true), hash.to_string(Base32, true)); hashAndWriteSink << exportMagic |