Merge pull request #168497 from LutzCle/tor-browser
This commit is contained in:
commit
cb9550ab71
1 changed files with 8 additions and 1 deletions
|
@ -366,6 +366,11 @@ stdenv.mkDerivation rec {
|
|||
PULSE_SERVER="\''${PULSE_SERVER:-}" \
|
||||
PULSE_COOKIE="\''${PULSE_COOKIE:-}" \
|
||||
\
|
||||
MOZ_ENABLE_WAYLAND=\$MOZ_ENABLE_WAYLAND \
|
||||
WAYLAND_DISPLAY="\$WAYLAND_DISPLAY" \
|
||||
XDG_RUNTIME_DIR="\$XDG_RUNTIME_DIR" \
|
||||
XCURSOR_PATH="\$XCURSOR_PATH" \
|
||||
\
|
||||
APULSE_PLAYBACK_DEVICE="\''${APULSE_PLAYBACK_DEVICE:-plug:dmix}" \
|
||||
\
|
||||
TOR_SKIP_LAUNCH="\''${TOR_SKIP_LAUNCH:-}" \
|
||||
|
@ -404,7 +409,9 @@ stdenv.mkDerivation rec {
|
|||
LD_LIBRARY_PATH=$libPath $TBB_IN_STORE/TorBrowser/Tor/tor --version >/dev/null
|
||||
|
||||
echo "Checking tor-browser wrapper ..."
|
||||
DISPLAY="" XAUTHORITY="" DBUS_SESSION_BUS_ADDRESS="" TBB_HOME=$(mktemp -d) \
|
||||
DISPLAY="" MOZ_ENABLE_WAYLAND="" WAYLAND_DISPLAY="" XAUTHORITY="" \
|
||||
XCURSOR_PATH="" XDG_RUNTIME_DIR="" XDG_SESSION_TYPE="" \
|
||||
DBUS_SESSION_BUS_ADDRESS="" TBB_HOME=$(mktemp -d) \
|
||||
$out/bin/tor-browser --version >/dev/null
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue