aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/daemon.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-04-17 19:02:45 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-04-17 19:02:45 -0400
commit668377f217c0fa4053d746f7094dfe887e07887c (patch)
tree40f1f7cc892b5f1bde41f1a2d105574c0bb5a716 /src/libstore/daemon.cc
parentf56c4a5bdfb0ec881b8cb0c06940abbea71b5f2b (diff)
`TextHashMethod` -> `TextIngestionMethod`, gate with XP feature
I suppose we can use `dynamic-derivations` for the few things we neeed.
Diffstat (limited to 'src/libstore/daemon.cc')
-rw-r--r--src/libstore/daemon.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/daemon.cc b/src/libstore/daemon.cc
index d3b9988c9..31e2e2af5 100644
--- a/src/libstore/daemon.cc
+++ b/src/libstore/daemon.cc
@@ -406,7 +406,7 @@ static void performOp(TunnelLogger * logger, ref<Store> store,
FramedSource source(from);
// TODO this is essentially RemoteStore::addCAToStore. Move it up to Store.
return std::visit(overloaded {
- [&](const TextHashMethod &) {
+ [&](const TextIngestionMethod &) {
if (hashType != htSHA256)
throw UnimplementedError("Only SHA-256 is supported for adding text-hashed data, but '%1' was given",
printHashType(hashType));