Hi! I'd like to run browsers in `guix environment` which seems to be a good idea! :) IceCat has been discussed in the past. Now I'd like to run WebKitGTK-based browsers. Let's try with Eolie for now, since it seems to have less issues than, say, Epiphany. --8<---------------cut here---------------start------------->8--- $ guix environment -C -N --expose=/etc/machine-id --expose=/etc/ssl/certs/ --share=$HOME/.local/share/eolie/=$HOME/.local/share/eolie/ --ad-hoc dbus eolie coreutils -- env DISPLAY=$DISPLAY SSL_CERT_DIR="$SSL_CERT_DIR" SSL_CERT_FILE="$SSL_CERT_FILE" eolie (org.gnome.Eolie:1): Gtk-WARNING **: 12:50:06.747: Could not find the icon 'go-previous-symbolic-ltr'. The 'hicolor' theme was not found either, perhaps you need to install it. You can get a copy from: http://icon-theme.freedesktop.org/releases [ERROR] 2020-04-21 12:50:07 DatabasePhishing::__save_rules():Expecting value: line 1 column 1 (char 0) -> b'error code: 1020' [WARNING] 2020-04-21 12:50:08 TaskHelper::__on_request_send_async(): g-io-error-quark: Operation was cancelled (19) [ERROR] 2020-04-21 12:50:08 DatabaseAdblock::__on_load_uri_content(): https://adaway.org/hosts.txt --8<---------------cut here---------------end--------------->8--- It seems to work well except for TLS certificate validation. I guess the certificate files cannot be found in the container since they can be found in a --pure environment: --8<---------------cut here---------------start------------->8--- $ guix environment --pure --ad-hoc dbus eolie coreutils -- env DISPLAY=$DISPLAY eolie --8<---------------cut here---------------end--------------->8--- so I presume the certificate errors are not due to my environment and 'bin/eolie' exports the right environment variables. My guess is that webkitgtk, glib-networking, glib or gnutls tries to fetch the certificates in a well-known location. Any idea about this? -- Pierre Neidhardt https://ambrevar.xyz/