nixpkgs/pkgs/applications/networking/browsers/firefox-wrapper/builder.sh
2007-11-24 10:49:52 +00:00

7 lines
355 B
Bash

source $stdenv/setup
source $makeWrapper
makeWrapper "$firefox/bin/firefox" "$out/bin/firefox$nameSuffix" \
--suffix-each MOZ_PLUGIN_PATH ':' "$plugins" \
--suffix-contents LD_LIBRARY_PATH ':' "$(filterExisting $(addSuffix /extra-library-path $plugins))" \
--suffix-contents PATH ':' "$(filterExisting $(addSuffix /extra-bin-path $plugins))"