diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc index 535bbd251..6b37f0af3 100644 --- a/src/libstore/gc.cc +++ b/src/libstore/gc.cc @@ -695,7 +695,7 @@ void LocalStore::collectGarbage(const GCOptions & options, GCResults & results) throw Error( "Cannot delete path '%1%' since it is still alive. " "To find out why, use: " - "nix-store --query --roots", + "nix-store --query --roots and nix-store --query --referrers", printStorePath(i)); }