nixpkgs/pkgs/applications/networking/browsers/firefox-wrapper/builder.sh
Eelco Dolstra eeff1fcdd1 * More wrapper generation features. The Firefox wrapper generator is
now just 3 lines.

svn path=/nixpkgs/trunk/; revision=2243
2005-02-16 11:38:52 +00:00

7 lines
243 B
Bash

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