aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-04-01 15:15:38 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-04-01 15:15:38 -0400
commit1f8e1edba9520f35bb69961859b77e072f35e8c1 (patch)
tree9184fe74d3e27baec2b8b28f4a48581cfae01751 /src/libstore
parentf7f44f7c96eaa65b096e1448591e5790a58f3ad9 (diff)
parenta6d00a7bfb18e7ec461ac1d54203cc628aca5c66 (diff)
Merge commit 'a6d00a7bfb18e7ec461ac1d54203cc628aca5c66' into ca-drv-exotic
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/binary-cache-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/binary-cache-store.cc b/src/libstore/binary-cache-store.cc
index 9eae8d534..628e9b9db 100644
--- a/src/libstore/binary-cache-store.cc
+++ b/src/libstore/binary-cache-store.cc
@@ -450,7 +450,7 @@ StorePath BinaryCacheStore::addTextToStore(
RepairFlag repair)
{
auto textHash = hashString(htSHA256, s);
- auto path = makeTextPath(name, TextInfo { textHash, references });
+ auto path = makeTextPath(name, TextInfo { { textHash }, references });
if (!repair && isValidPath(path))
return path;