From 62b78e643ce4f7c8d2c62bec040686ba311eb76c Mon Sep 17 00:00:00 2001 From: Carl Hjerpe Date: Sat, 27 Jan 2024 18:29:15 +0100 Subject: [PATCH] browserpass: Copy FF manifest to common location This allows is to link-farm native-messaging hosts easier elsewhere. (home-manager farms "${pkg}/lib/mozilla/native-messaging-hosts" into ~/.mozilla/native-messaging-hosts) --- pkgs/tools/security/browserpass/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/security/browserpass/default.nix b/pkgs/tools/security/browserpass/default.nix index 73c40a718c28..1dd2a27f1ec3 100644 --- a/pkgs/tools/security/browserpass/default.nix +++ b/pkgs/tools/security/browserpass/default.nix @@ -55,7 +55,8 @@ buildGoModule rec { # This path is used by our firefox wrapper for finding native messaging hosts mkdir -p $out/lib/mozilla/native-messaging-hosts - ln -s $out/lib/browserpass/hosts/firefox/*.json $out/lib/mozilla/native-messaging-hosts + # Copy ff manifests rather than linking to allow link-farming to work recursively in dependants + cp $out/lib/browserpass/hosts/firefox/*.json $out/lib/mozilla/native-messaging-hosts/ ''; passthru.tests.version = testers.testVersion {