Skip to content

Commit 349b471

Browse files
authored
Merge pull request NixOS#79297 from arcnmx/pr-firefox-extension-links
firefox: resolve relative nativeMessagingHosts links
2 parents 1b2b9da + c7a58a7 commit 349b471

File tree

1 file changed

+2
-2
lines changed
  • pkgs/applications/networking/browsers/firefox

1 file changed

+2
-2
lines changed

pkgs/applications/networking/browsers/firefox/wrapper.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ let
155155
156156
install -D -t $out/share/applications $desktopItem/share/applications/*
157157
158-
mkdir -p $out/lib/mozilla
158+
mkdir -p $out/lib/mozilla/native-messaging-hosts
159159
for ext in ${toString nativeMessagingHosts}; do
160-
lndir -silent $ext/lib/mozilla $out/lib/mozilla
160+
ln -sLt $out/lib/mozilla/native-messaging-hosts $ext/lib/mozilla/native-messaging-hosts/*
161161
done
162162
163163
# For manpages, in case the program supplies them

0 commit comments

Comments
 (0)