aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libstore/gc.cc2
1 files changed, 1 insertions, 1 deletions
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));
}