tor-browser-bundle-bin: allow unset XAUTHORITY

Apparently this can happen on e.g., fedora.

Closes https://github.com/NixOS/nixpkgs/issues/38671
This commit is contained in:
Joachim Fasting 2018-04-15 13:26:38 +02:00
parent 33615ccfa5
commit 9df35787f1
No known key found for this signature in database
GPG key ID: 5C204DF675C90294

View file

@ -340,7 +340,7 @@ stdenv.mkDerivation rec {
\
TMPDIR="\''${TMPDIR:-/tmp}" \
HOME="\$HOME" \
XAUTHORITY="\$XAUTHORITY" \
XAUTHORITY="\''${XAUTHORITY:-}" \
DISPLAY="\$DISPLAY" \
DBUS_SESSION_BUS_ADDRESS="\$DBUS_SESSION_BUS_ADDRESS" \
\