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:
parent
f34b50851a
commit
62b78e643c
1 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,8 @@ buildGoModule rec {
|
||||||
|
|
||||||
# This path is used by our firefox wrapper for finding native messaging hosts
|
# This path is used by our firefox wrapper for finding native messaging hosts
|
||||||
mkdir -p $out/lib/mozilla/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 {
|
passthru.tests.version = testers.testVersion {
|
||||||
|
|
Loading…
Reference in a new issue