diff --git a/src/libfetchers/github.cc b/src/libfetchers/github.cc index d9d348756..1ca639419 100644 --- a/src/libfetchers/github.cc +++ b/src/libfetchers/github.cc @@ -111,6 +111,7 @@ struct GitArchiveInputScheme : InputScheme "narHash", "lastModified", "host", + "treeHash", }; } @@ -268,7 +269,9 @@ struct GitArchiveInputScheme : InputScheme { auto [input, tarballInfo] = downloadArchive(store, _input); + #if 0 input.attrs.insert_or_assign("treeHash", tarballInfo.treeHash.gitRev()); + #endif input.attrs.insert_or_assign("lastModified", uint64_t(tarballInfo.lastModified)); auto accessor = getTarballCache()->getAccessor(tarballInfo.treeHash, false);