NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.16k stars 14.19k forks source link

Firefox puts store paths into extensions.json and breaks when they are GCd #77514

Open ambrop72 opened 4 years ago

ambrop72 commented 4 years ago

Describe the bug I've just had Firefox updated from 72.0 to 72.0.1 (nixos-unstable), and I did a garbage collect, and Firefox failed to start with many errors (in the console) about /nix/store/ files not found (I don't have the errors available any more). I found store paths in ".mozilla/firefox//extensions.json" that did not exist any more. I was able to get Firefox to run again by deleting that file.

To Reproduce Steps to reproduce the behavior:

  1. Update the system such that Firefox goes from 72.0 to 72.0.1.
  2. nix-collect-garbage --delete-old
  3. Try to start Firefox.

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute: firefox
# a list of nixos modules affected by the problem
module:
stale[bot] commented 4 years ago

Hello, I'm a bot and I thank you in the name of the community for opening this issue.

To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human.

The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it.

If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them.

Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel.