aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/nar-info.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/nar-info.hh')
-rw-r--r--src/libstore/nar-info.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/nar-info.hh b/src/libstore/nar-info.hh
index 373c33427..eff19f0ef 100644
--- a/src/libstore/nar-info.hh
+++ b/src/libstore/nar-info.hh
@@ -10,7 +10,7 @@ struct NarInfo : ValidPathInfo
{
std::string url;
std::string compression;
- Hash fileHash;
+ std::optional<Hash> fileHash;
uint64_t fileSize = 0;
std::string system;