diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-08-05 14:36:25 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-08-05 14:36:25 +0000 |
commit | 03f4fafc27bd9f8def1df6a229a17fc2c3f0e0a0 (patch) | |
tree | ac78cb209f336e5c3cd1d145e2ed1444ba2e31c2 /src/libfetchers | |
parent | df707d05d1671677efe5935356959722c4cc3a02 (diff) | |
parent | 088dcea0e80bf2861fd9d6b808e76a1669b7122a (diff) |
Merge remote-tracking branch 'upstream/master' into misc-ca
Diffstat (limited to 'src/libfetchers')
-rw-r--r-- | src/libfetchers/fetchers.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libfetchers/fetchers.cc b/src/libfetchers/fetchers.cc index c3ee9bf43..28db8aa9c 100644 --- a/src/libfetchers/fetchers.cc +++ b/src/libfetchers/fetchers.cc @@ -134,7 +134,7 @@ std::pair<Tree, Input> Input::fetch(ref<Store> store) const if (auto prevNarHash = getNarHash()) { if (narHash != *prevNarHash) - throw Error("NAR hash mismatch in input '%s' (%s), expected '%s', got '%s'", + throw Error((unsigned int) 102, "NAR hash mismatch in input '%s' (%s), expected '%s', got '%s'", to_string(), tree.actualPath, prevNarHash->to_string(SRI, true), narHash->to_string(SRI, true)); } |