-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 no longer launches with custom profiles #5717
Comments
Same behavior here.. I saw it immediately after that got merged too. My workaround for the time being has been to create a rw profiles.ini with the same contents after a flake switch... Only happens on my macbook and my linux desktop doesn't experience the same issue. |
My bad. I added that property since I observed that it fixed profiles on most other derivarives such as LibreWolf. I couldn't find any docs on it either, so I just hoped it wouldn't affect browsers that use version 1. Am I correct to assume this only breaks stock FF on Darwin? |
I think its only stock Firefox on Darwin, yes. I tried a x86 linux nixos box today, and it worked just fine with the v2 property. For reference, I'm using the overlays provided here for Darwin since nixpkgs doesn't have good Darwin support for Firefox: https://github.com/bandithedoge/nixpkgs-firefox-darwin |
@dairyisscary I suspect |
Why would |
It can be used. I don't know why one would use it though, but that's an official binary from Mozilla. The reason I think it may be affected is that it probably doesn't use UPD: now that I looked a bit closer, I no longer thing |
@brckd do you have any details as to how LibreWolf failed without |
I only saw that it was failing and that LibreWolf's own config includes |
I did try the |
I did some more reading of Firefox code yesterday. This is my current thinking. I copied it from a Thunderbird PR. It is referring to Thunderbird, but the same applies to Firefox. There are two scenarios that seem to work correctly with a read-only
When (1) is used, no When (2) is used, The package from This PR proposed to switch to (2). But I think this may break I think in the end, we may have to stick to This can probably be safely done for all platforms, not just Darwin. The |
This fixes app startup for installations that are not using `wrapFirefox` (e.g. app from `homebrew`). These variables are already set for nixpkgs firefox using wrapFirefox wrapper. This is most helpful for Darwin users. But it will help with an (unusual) scenario where Home Manager is used in a non-NixOS environment with the app managed by another package manager, or installed directly from Mozilla builds. Closes: nix-community#5717
There seems to be a similar, related bug reported earlier here: #3323 |
I think I have a solution for the problem that doesn't require a removal of the
With these two pieces in place, I was able to enable Let me know what you think. |
One more comment on the above solution. |
This fixes app startup for installations that are not using `wrapFirefox` (e.g. app from `homebrew`). These variables are already set for nixpkgs firefox using wrapFirefox wrapper. This is most helpful for Darwin users. But it will help with an (unusual) scenario where Home Manager is used in a non-NixOS environment with the app managed by another package manager, or installed directly from Mozilla builds. Closes: nix-community#5717
Are you following the right branch?
Is there an existing issue for this?
Issue description
I have a home module that looks something like this:
After #5128, firefox no longer opens on aarch64-darwin (I have not tested any other platform). I have verified that the commit before is not affected.
I noticed that
profiles.ini
file looks exactly the same between the two profiles, with #5128 and without, except for this notable line:And that seems to be new configuration in #5128. If i just manually link this file to the older profile without this
Version
line, but keep the newer profile, firefox does seem to open correctly. I can't find any mozilla documentation on this property.Maintainer CC
No response
System information
The text was updated successfully, but these errors were encountered: