diff options
author | Carlo Nucera <carlo.nucera@protonmail.com> | 2020-08-05 14:42:48 -0400 |
---|---|---|
committer | Carlo Nucera <carlo.nucera@protonmail.com> | 2020-08-05 14:42:48 -0400 |
commit | 1d71028f4d43f8e3ade559f7187f697c7bb9d709 (patch) | |
tree | a39dd015e3ac87729d058f1c1d274966ce5cf7c7 /src/libexpr | |
parent | d3452a5ed6e7f052aad5e7fd9aaa1061b0c54652 (diff) |
Remove optionality in ValidPathInfo::narInfo
Diffstat (limited to 'src/libexpr')
-rw-r--r-- | src/libexpr/primops/fetchTree.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops/fetchTree.cc b/src/libexpr/primops/fetchTree.cc index cddcf0e59..0dbf4ae1d 100644 --- a/src/libexpr/primops/fetchTree.cc +++ b/src/libexpr/primops/fetchTree.cc @@ -212,7 +212,7 @@ static void fetch(EvalState & state, const Pos & pos, Value * * args, Value & v, : hashFile(htSHA256, path); if (hash != *expectedHash) throw Error((unsigned int) 102, "hash mismatch in file downloaded from '%s':\n wanted: %s\n got: %s", - *url, expectedHash->to_string(Base32, true), hash->to_string(Base32, true)); + *url, expectedHash->to_string(Base32, true), hash.to_string(Base32, true)); } if (state.allowedPaths) |