about summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2018-04-15 13:26:38 +0200
committerJoachim Fasting <joachifm@fastmail.fm>2018-04-29 12:17:30 +0200
commit9df35787f16636628a2c7392cc4bfeff0e815242 (patch)
tree01665f89b73ab0c526807b09a2f3b50b454c0e75 /pkgs/applications/networking
parent33615ccfa5a7c324a694f630f0b48fba8d40f9ba (diff)
downloadnixlib-9df35787f16636628a2c7392cc4bfeff0e815242.tar
nixlib-9df35787f16636628a2c7392cc4bfeff0e815242.tar.gz
nixlib-9df35787f16636628a2c7392cc4bfeff0e815242.tar.bz2
nixlib-9df35787f16636628a2c7392cc4bfeff0e815242.tar.lz
nixlib-9df35787f16636628a2c7392cc4bfeff0e815242.tar.xz
nixlib-9df35787f16636628a2c7392cc4bfeff0e815242.tar.zst
nixlib-9df35787f16636628a2c7392cc4bfeff0e815242.zip
tor-browser-bundle-bin: allow unset XAUTHORITY
Apparently this can happen on e.g., fedora.

Closes https://github.com/NixOS/nixpkgs/issues/38671
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix b/pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix
index 8a8abb42f55e..a2094305db55 100644
--- a/pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix
+++ b/pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix
@@ -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" \
       \