-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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
firefox, thunderbird: enable wrapped derivations for darwin #377863
base: master
Are you sure you want to change the base?
Conversation
This currently crashes tabs for firefox; need to investigate, hence in draft. |
c246787
to
086fbec
Compare
There are still some issues with permissions and desktopNames that contain spaces.
|
086fbec
to
460f143
Compare
|
de7f9fd
to
fa0c455
Compare
6f21e10
to
ea0ee33
Compare
|
|
I believe it's an issue with the runner itself, not this PR. I will have to rebase to retrigger it. |
ea0ee33
to
ff86950
Compare
@mweinelt @lovesegfault would you mind reviewing this PR? Thank you. |
ff86950
to
07de93a
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
103ae49
to
cd92f32
Compare
|
|
cd92f32
to
a383af4
Compare
Related-Bug: NixOS#374354 Signed-off-by: Ihar Hrachyshka <[email protected]>
It's not implemented for Darwin. Signed-off-by: Ihar Hrachyshka <[email protected]>
It also aligns application names for wrapped and unwrapped flavors of the same derivations; and uses unique application names for each flavor, so it's now possible to install multiple versions on the same Darwin machine. One visible change now is that `About Firefox` window now shows: `Firefox for NixOS` instead of `Mozilla Firefox for NixOS` ...in the `distribution` field. I think it's fine and doesn't infringe on any trademarks because this field is not required to mention Mozilla at all, as per: https://wiki.mozilla.org/Distribution_INI_File While at it, also changed the branding for Darwin builds to list: `Firefox for Nix on MacOS` instead of `Firefox for NixOS` The telemetry and distribution ids (`nixos`) are left intact. Note: it's still not possible to install both source-based and -bin Darwin derivations in the same profile. It would require renaming applicationNames for these two different types to use unique names (e.g. `Firefox (Official)` or `Firefox (Binary)`, which doesn't seem optimal. Closes: NixOS#378433 Closes: NixOS#366581 Signed-off-by: Ihar Hrachyshka <[email protected]>
Signed-off-by: Ihar Hrachyshka <[email protected]>
Signed-off-by: Ihar Hrachyshka <[email protected]>
Without this, plugin-container fails to start. Signed-off-by: Ihar Hrachyshka <[email protected]>
a383af4
to
2c5b253
Compare
@jopejoe1 can I get some attention to this PR? It conflicts a lot with other PRs being merged, and it's not easy to rebuild everything affected by it locally to validate the patch doesn't break anything (for both platforms). We are talking about all Firefox derivatives plus Thunderbird flavors... Thanks in advance. |
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We generally call an attribute directly instead of calling it over passthru
Signed-off-by: Ihar Hrachyshka <[email protected]>
It also aligns application names for wrapped and unwrapped flavors of
the same derivations; and uses unique application names for each flavor,
so it's now possible to install multiple versions on the same Darwin
machine.
One visible change now is that
About Firefox
window now shows:Firefox for NixOS
instead ofMozilla Firefox for NixOS
...in the
distribution
field. I think it's fine and doesn't infringeon any trademarks because this field is not required to mention Mozilla at
all, as per: https://wiki.mozilla.org/Distribution_INI_File
While at it, also changed the branding for Darwin builds to list:
Firefox for Nix on MacOS
instead ofFirefox for NixOS
The telemetry and distribution ids (
nixos
) are left intact.Note: it's still not possible to install both source-based and -bin
Darwin derivations in the same profile. It would require renaming
applicationNames for these two different types to use unique names (e.g.
Firefox (Official)
orFirefox (Binary)
, which doesn't seem optimal.Closes: #378433
Closes: #366581
In addition, the PR includes a patch to mark midori as broken because it is; and to mark firefoxpwa as linux only, because it's not currently implemented for Darwin.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.