-
-
Notifications
You must be signed in to change notification settings - Fork 14.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
firefox*, thunderbird*: file collision due to identical app bundle names used for all flavors #378433
Open
3 tasks done
Labels
Comments
booxter
added
0.kind: bug
Something is broken
6.topic: darwin
Running or building packages on Darwin
labels
Feb 1, 2025
booxter
added a commit
to booxter/nixpkgs
that referenced
this issue
Feb 1, 2025
Each derivation flavor should use its own app bundle name. Closes: NixOS#378433 TODO: confirm thunderbird is fixed too. (May need adjustment to bundle names using applicationName argument.) Signed-off-by: Ihar Hrachyshka <[email protected]>
13 tasks
booxter
added a commit
to booxter/nixpkgs
that referenced
this issue
Feb 1, 2025
Each derivation flavor should use its own app bundle name. Closes: NixOS#378433 TODO: confirm thunderbird is fixed too. (May need adjustment to bundle names using applicationName argument.) Signed-off-by: Ihar Hrachyshka <[email protected]>
booxter
added a commit
to booxter/nixpkgs
that referenced
this issue
Feb 1, 2025
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]>
booxter
added a commit
to booxter/nixpkgs
that referenced
this issue
Feb 1, 2025
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]>
booxter
added a commit
to booxter/nixpkgs
that referenced
this issue
Feb 1, 2025
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]>
13 tasks
booxter
added a commit
to booxter/nixpkgs
that referenced
this issue
Feb 1, 2025
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]>
booxter
added a commit
to booxter/nixpkgs
that referenced
this issue
Feb 1, 2025
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]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Nixpkgs version
Describe the bug
This is what's happening when I try to install both firefox-beta-unwrapped and firefox-unwrapped into my Home Manager environment:
MacOS bundles are independent and can be installed at the same time. We should only make sure that each derivation uses its own unique name for the bundle.
Steps to reproduce
Attempt to activate both
firefox-unwrapped
andfirefox-beta-unwrapped
on MacOS.Expected behaviour
Both are installed (each bundle uses its own unique name).
Screenshots
No response
Relevant log output
Additional context
No response
System metadata
Are you using nix-darwin?
Yes, I am using nix-darwin.
Notify maintainers
Note for maintainers: Please tag this issue in your pull request description. (i.e.
Resolves #ISSUE
.)I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: