aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers/tree-info.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libfetchers/tree-info.hh')
-rw-r--r--src/libfetchers/tree-info.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libfetchers/tree-info.hh b/src/libfetchers/tree-info.hh
index 2c7347281..9d1872097 100644
--- a/src/libfetchers/tree-info.hh
+++ b/src/libfetchers/tree-info.hh
@@ -11,7 +11,7 @@ namespace nix::fetchers {
struct TreeInfo
{
- Hash narHash;
+ std::optional<Hash> narHash;
std::optional<uint64_t> revCount;
std::optional<time_t> lastModified;