3
0
Fork 0
forked from mirrors/nixpkgs

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)
This commit is contained in:
Carl Hjerpe 2024-01-27 18:29:15 +01:00 committed by Carl Hjerpe
parent f34b50851a
commit 62b78e643c

View file

@ -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 {