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
|
@ -661,6 +661,10 @@ in {
|
||||||
in "${extensionsEnvPkg}/share/mozilla/${extensionPath}";
|
in "${extensionsEnvPkg}/share/mozilla/${extensionPath}";
|
||||||
recursive = true;
|
recursive = true;
|
||||||
force = true;
|
force = true;
|
||||||
|
onChange = ''
|
||||||
|
# Includes references to old versions that are shown in UI.
|
||||||
|
rm -f "${profilesPath}/${profile.path}/extensions.json"
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}));
|
}));
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue