From 7dee7d6ddbaca686fb80a63b3dd15eacce7b7b5d Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Fri, 17 Nov 2017 12:00:20 -0600 Subject: [PATCH] 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 --- pkgs/applications/networking/dropbox/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/dropbox/default.nix b/pkgs/applications/networking/dropbox/default.nix index d33ba5266f77..e9d6c5f306f0 100644 --- a/pkgs/applications/networking/dropbox/default.nix +++ b/pkgs/applications/networking/dropbox/default.nix @@ -35,7 +35,8 @@ buildFHSUserEnv { targetPkgs = pkgs: with pkgs; with xlibs; [ libICE libSM libX11 libXcomposite libXdamage libXext libXfixes libXrender 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 = '' @@ -44,6 +45,8 @@ buildFHSUserEnv { ''; runScript = writeScript "install-and-start-dropbox" '' + export BROWSER=firefox + set -e do_install=