diff options
author | Alyssa Ross <hi@alyssa.is> | 2024-05-17 18:18:38 +0200 |
---|---|---|
committer | Qyriad <qyriad@qyriad.me> | 2024-05-18 14:49:40 -0600 |
commit | 139d31f87658c420622f6880a4bdfee8b522f87c (patch) | |
tree | 018f1508f53dd7a9f4e81ec55bb3f74d7f9b49a3 /src/libfetchers/path.cc | |
parent | 62b1adf8c1f53798a6879352094ce5f1da11e7d7 (diff) |
Improve nix-store --delete failure message
On several occasions I've found myself confused when trying to delete
a store path, because I am told it's still alive, but
nix-store --query --roots doesn't show anything. Let's save future
users this confusion by mentioning that a path might be alive due to
having referrers, not just roots.
(cherry picked from commit 979a019014569eee7d0071605f6ff500b544f6ac)
Upstream-PR: https://github.com/NixOS/nix/pull/10733
Change-Id: I54ae839a85f3de3393493fba27fd40d7d3af0516
Diffstat (limited to 'src/libfetchers/path.cc')
0 files changed, 0 insertions, 0 deletions