fix(browsers): fix old nix store paths in firefox extensions
The extensions.json nix store paths that won't be updated unless the file is deleted. If it's deleted Firefox will just regenerate it.
This commit is contained in:
parent
20a845faaa
commit
739e74a322
1 changed files with 4 additions and 0 deletions
|
@ -661,6 +661,10 @@ in {
|
|||
in "${extensionsEnvPkg}/share/mozilla/${extensionPath}";
|
||||
recursive = true;
|
||||
force = true;
|
||||
onChange = ''
|
||||
# Includes references to old versions that are shown in UI.
|
||||
rm -f "${profilesPath}/${profile.path}/extensions.json"
|
||||
'';
|
||||
};
|
||||
}));
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue