aboutsummaryrefslogtreecommitdiff
path: root/src/nix/registry.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/registry.cc')
-rw-r--r--src/nix/registry.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/registry.cc b/src/nix/registry.cc
index cb94bbd31..f509ccae8 100644
--- a/src/nix/registry.cc
+++ b/src/nix/registry.cc
@@ -175,8 +175,8 @@ struct CmdRegistryPin : RegistryCommand, EvalCommand
.label = "locked",
.optional = true,
.handler = {&locked},
- .completer = {[&](size_t, std::string_view prefix) {
- completeFlakeRef(getStore(), prefix);
+ .completer = {[&](AddCompletions & completions, size_t, std::string_view prefix) {
+ completeFlakeRef(completions, getStore(), prefix);
}}
});
}