mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
firefox/wrapper: Set new style override for legacy profiles & allow downgrades
While Firefox 68 started messing with our profiles and required new profiles on binary location changes Firefox 69 now verifies that we aren't downgrading to an older Firefox even of the same version. If you switch between two channel versions and/or between nixpkgs releases Firefox will refuse to start and demand a fresh profile. Disabling the downgrade protection works around that issue.
This commit is contained in:
parent
91c7f8b99f
commit
87e261843c
@ -129,6 +129,8 @@ let
|
||||
--set MOZ_APP_LAUNCHER "${browserName}${nameSuffix}" \
|
||||
--set MOZ_SYSTEM_DIR "$out/lib/mozilla" \
|
||||
--set SNAP_NAME "firefox" \
|
||||
--set MOZ_LEGACY_PROFILES 1 \
|
||||
--set MOZ_ALLOW_DOWNGRADE 1 \
|
||||
${lib.optionalString gdkWayland ''
|
||||
--set GDK_BACKEND "wayland" \
|
||||
''}${lib.optionalString (browser ? gtk3)
|
||||
|
Loading…
Reference in New Issue
Block a user