From 668377f217c0fa4053d746f7094dfe887e07887c Mon Sep 17 00:00:00 2001 From: John Ericson Date: Mon, 17 Apr 2023 19:02:45 -0400 Subject: `TextHashMethod` -> `TextIngestionMethod`, gate with XP feature I suppose we can use `dynamic-derivations` for the few things we neeed. --- src/libstore/daemon.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstore/daemon.cc') 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, 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)); -- cgit v1.2.3