mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
Merge pull request #10733 from alyssais/nix-store-delete
Improve nix-store --delete failure message
This commit is contained in:
commit
d25e54d56a
1 changed files with 1 additions and 1 deletions
|
@ -781,7 +781,7 @@ void LocalStore::collectGarbage(const GCOptions & options, GCResults & results)
|
||||||
throw Error(
|
throw Error(
|
||||||
"Cannot delete path '%1%' since it is still alive. "
|
"Cannot delete path '%1%' since it is still alive. "
|
||||||
"To find out why, use: "
|
"To find out why, use: "
|
||||||
"nix-store --query --roots",
|
"nix-store --query --roots and nix-store --query --referrers",
|
||||||
printStorePath(i));
|
printStorePath(i));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue