nixpkgs/pkgs/applications/networking/browsers/firefox-wrapper/builder.sh
Yury G. Kudryashov 7aea2477a1 Added possibility to make suffixed wrapped firefoxes. Yes, to have beta&release at once.
svn path=/nixpkgs/branches/stdenv-updates/; revision=9884
2007-12-08 01:08:29 +00:00

8 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))"