aboutsummaryrefslogtreecommitdiff
path: root/src/nix/store-delete.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/store-delete.cc')
-rw-r--r--src/nix/store-delete.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/store-delete.cc b/src/nix/store-delete.cc
index aa7a8b12f..0de7efaba 100644
--- a/src/nix/store-delete.cc
+++ b/src/nix/store-delete.cc
@@ -33,7 +33,7 @@ struct CmdStoreDelete : StorePathsCommand
void run(ref<Store> store, std::vector<StorePath> && storePaths) override
{
- auto & gcStore = requireGcStore(*store);
+ auto & gcStore = GcStore::require(*store);
for (auto & path : storePaths)
options.pathsToDelete.insert(path);