Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Firefox uses stale metadata for extensions installed through home-manager #5652

Open
2 tasks done
alois31 opened this issue Jul 20, 2024 · 0 comments
Open
2 tasks done
Assignees
Labels
bug program: firefox triage Issues or feature request that have not been triaged yet

Comments

@alois31
Copy link
Contributor

alois31 commented Jul 20, 2024

Are you following the right branch?

  • My Nixpkgs and Home Manager versions are in sync

Is there an existing issue for this?

  • I have searched the existing issues

Issue description

When installing extensions using the programs.firefox.profiles.<name>.extensions option, Firefox seems to cache some metadata (at least version and permissions) the first time the extensions is activated. This metadata is then used for a long time, even when the extension is updated in the meantime. This can lead to misleading information being shown in the extension list, as well as breakage or security problems (in case the permissions have been updated to be less or more strict, respectively). The extension code does not seem to be cached this way; this has been verified by checking that uBlock Origin shows its most recent version in the "About" tab in its settings.

Maintainer CC

@rycee @kira-bruneau

System information

- system: `"x86_64-linux"`
 - host os: `Linux 6.10.0, NixOS, 24.11 (Vicuna), 24.11pre655136.1d9c2c9b3e71`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Lix, like Nix) 2.91.0-devpre3189a62dc9a8
System type: x86_64-linux
Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: [elided, very long and none of them exist anyway]
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/c4f29zvrzqg0aayswsixi7lb3d9fj5w3-lix-2.91.0-devpre3189a62dc9a8/share`
 - nixpkgs: `/nix/store/w3vr9sl44lh85nsvpf5krx95f63ssbf2-nixpkgs`
@alois31 alois31 added bug triage Issues or feature request that have not been triaged yet labels Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug program: firefox triage Issues or feature request that have not been triaged yet
Projects
None yet
Development

No branches or pull requests

5 participants