Make nix-collect-garbage -d look into more places#8154
Make nix-collect-garbage -d look into more places#8154Ericson2314 merged 2 commits intoNixOS:masterfrom
nix-collect-garbage -d look into more places#8154Conversation
|
Oh great, the dreaded |
72baa83 to
a57810b
Compare
|
Ping @NixOS/nix-team. This fixes #8294 which is a quite annoying bug |
fricklerhandwerk
left a comment
There was a problem hiding this comment.
Discussed in Nix team meeting:
This needs a test to prevent regressions in the future.
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
|
I checked some of the review boxes. |
Make it look into the new-style profiles dir, the old-style one, and the target of `~/.nix-profile` to be sure that we don't miss anything
Regression test for NixOS#8294
a57810b to
e97e9e9
Compare
|
@Ericson2314 I've added a test for it (which fails without the first commit). PTAL |
|
We need docs too, but this can be done in a follow-up (since this is fixing a regression, there is no intended new behavior). |
|
Successfully created backport PR for |
|
False alarm, my bad. The additional test passed. |
Motivation
Make it look into the new-style profiles dir, the old-style one, and the
target of
~/.nix-profileto be sure that we don't miss anything when runningthe GC.
Checklist for maintainers
Maintainers: tick if completed or explain if not relevant
tests/**.shsrc/*/teststests/nixos/*Priorities
Add 👍 to pull requests you find important.
Fix #8294