Skip to content

Commit

Permalink
snapcraft: Fix XDG_CONFIG_HOME to point to a writable dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
ScarlettGatelyMoore committed Jul 28, 2024
1 parent 44bd8a1 commit 5111f70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ assumes:
compression: lzo
environment:
QTWEBENGINEPROCESS_PATH: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/qt6/libexec/QtWebEngineProcess"
XDG_CONFIG_DIRS: $SNAP/etc/xdg
XDG_CONFIG_DIRS: $SNAP_USER_DATA/.config:$XDG_CONFIG_DIRS
__EGL_VENDOR_LIBRARY_DIRS: "$SNAP/etc/glvnd/egl_vendor.d:$SNAP/usr/share/glvnd/egl_vendor.d"
LIBGL_DRIVERS_PATH: "$SNAP/usr/lib/${CRAFT_ARCH_TRIPLET}/dri"
LD_LIBRARY_PATH: ":$SNAP/usr/lib:$SNAP/lib/:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/pulseaudio:${LD_LIBRARY_PATH}"
PATH: $SNAP/usr/bin:${PATH}
XDG_DATA_DIRS: $SNAP/usr/share:$SNAP/.local/usr/share:$SNAP/usr/share:$SNAP/data-dir
XDG_CONFIG_HOME: $SNAP/etc/xdg
XDG_DATA_DIRS: $SNAP/usr/share:$SNAP_USER_DATA/.local/usr/share:$SNAP/usr/share:$SNAP/data-dir
XDG_CONFIG_HOME: $SNAP_USER_DATA/.config
QT_PLUGIN_PATH: $SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt6/plugins
layout:
/usr/share/X11:
Expand Down

0 comments on commit 5111f70

Please sign in to comment.