Skip to content
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-bin: link native-messaging-hosts to correct location #303562

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SuperSandro2000
Copy link
Member

Description of changes

Closes #47340

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@SuperSandro2000 SuperSandro2000 force-pushed the firefox-bin-native-messaging-host branch 2 times, most recently from 9146b65 to 4579971 Compare May 19, 2024 16:55
@SuperSandro2000 SuperSandro2000 changed the title firefox: link native-messaging-hosts to a location firefox actually reads firefox-nin: link native-messaging-hosts to correct location when using firefox-bin May 19, 2024
@SuperSandro2000 SuperSandro2000 changed the title firefox-nin: link native-messaging-hosts to correct location when using firefox-bin firefox-bin: link native-messaging-hosts to correct location when using firefox-bin May 19, 2024
@SuperSandro2000 SuperSandro2000 force-pushed the firefox-bin-native-messaging-host branch from 4579971 to eb872b2 Compare May 19, 2024 18:52
@SuperSandro2000 SuperSandro2000 changed the title firefox-bin: link native-messaging-hosts to correct location when using firefox-bin firefox-bin: link native-messaging-hosts to correct location May 20, 2024
@SuperSandro2000 SuperSandro2000 force-pushed the firefox-bin-native-messaging-host branch from eb872b2 to 41afcb5 Compare May 20, 2024 00:21
@SuperSandro2000 SuperSandro2000 force-pushed the firefox-bin-native-messaging-host branch from 41afcb5 to 1a2a5aa Compare May 28, 2024 22:27
@SuperSandro2000 SuperSandro2000 force-pushed the firefox-bin-native-messaging-host branch from 1a2a5aa to 3aa629b Compare June 20, 2024 12:29
@SuperSandro2000 SuperSandro2000 force-pushed the firefox-bin-native-messaging-host branch from 3aa629b to 16a93b1 Compare July 12, 2024 13:12
@SuperSandro2000
Copy link
Member Author

@jtojnar can we merge this PR?

@@ -52,6 +52,7 @@ let
, extraPoliciesFiles ? []
, libName ? browser.libName or "firefox" # Important for tor package or the like
, nixExtensions ? null
, hasMozSystemDirPatch ? (lib.hasPrefix "firefox" pname && lib.hasSuffix "-bin" pname)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not this be !lib.hasSuffix "-bin" pname?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Firefox extension that uses native messaging does not work
4 participants