dropbox: install firefox-bin in FHS env

To sign in to dropbox, a browser must be available in the FHS env. We cannot
ensure that the user's browser of choice is available, so we provide Firefox as
a default.

Resolves: #31667
This commit is contained in:
Thomas Tuegel
2017-11-17 12:00:20 -06:00
parent 7e7fbebed9
commit 7dee7d6ddb
@@ -35,7 +35,8 @@ buildFHSUserEnv {
targetPkgs = pkgs: with pkgs; with xlibs; [ targetPkgs = pkgs: with pkgs; with xlibs; [
libICE libSM libX11 libXcomposite libXdamage libXext libXfixes libXrender libICE libSM libX11 libXcomposite libXdamage libXext libXfixes libXrender
libXxf86vm libxcb xkeyboardconfig libXxf86vm libxcb xkeyboardconfig
curl dbus fontconfig freetype gcc glib gnutar libxml2 libxslt procps zlib curl dbus firefox-bin fontconfig freetype gcc glib gnutar libxml2 libxslt
procps zlib
]; ];
extraInstallCommands = '' extraInstallCommands = ''
@@ -44,6 +45,8 @@ buildFHSUserEnv {
''; '';
runScript = writeScript "install-and-start-dropbox" '' runScript = writeScript "install-and-start-dropbox" ''
export BROWSER=firefox
set -e set -e
do_install= do_install=