diff --git a/pkgs/applications/networking/browsers/firefox-wrapper/builder.sh b/pkgs/applications/networking/browsers/firefox-wrapper/builder.sh new file mode 100644 index 00000000000..ac2e0ec313a --- /dev/null +++ b/pkgs/applications/networking/browsers/firefox-wrapper/builder.sh @@ -0,0 +1,19 @@ +. $stdenv/setup + +mkdir -p $out/bin + +pluginPath= +for i in $plugins; do + p=$i/lib/mozilla/plugins + if test -e $p; then + pluginPath=$pluginPath${pluginPath:+:}$p + fi +done + +cat > $out/bin/firefox <