aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/profiles.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-10-14 13:28:22 +0200
committerEelco Dolstra <edolstra@gmail.com>2021-10-14 13:28:22 +0200
commit0be8cc1466f317e33977590510bac4b18471f0ce (patch)
tree1074258071e4e563fd00cf57e1f7ef3bf7a7bbca /src/libstore/profiles.cc
parenteab934cb2a23595a7ac7c8a72373cd8096b606a9 (diff)
pathInfoCache: Use the entire base name as the cache key
This fixes a bug in the garbage collector where if a path /nix/store/abcd-foo is valid, but we do a isValidPath("/nix/store/abcd-foo.lock") first, then a negative entry for /nix/store/abcd is added to pathInfoCache, so /nix/store/abcd-foo is subsequently considered invalid and deleted.
Diffstat (limited to 'src/libstore/profiles.cc')
0 files changed, 0 insertions, 0 deletions