diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-07-29 11:33:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-29 11:33:27 +0200 |
commit | 39311e7009a249640fd73689fdabf7a4f44aae0f (patch) | |
tree | 9ae8af95662129f268ee040fd9457d0563129678 /src/libfetchers/fetchers.cc | |
parent | 7c097275c486d6e2e9b4430092600da2427e2820 (diff) | |
parent | e4940e90f399c5cde5f44f099ca5cdf5340d22b8 (diff) |
Merge pull request #3549 from Ma27/fetchgit-hash
Merge legacy `fetchGit`-builtin with the generic `fetchTree`-function
Diffstat (limited to 'src/libfetchers/fetchers.cc')
-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)); } |