Skip to content

Commit

Permalink
Append /usr/share to XDG_DATA_DIRS
Browse files Browse the repository at this point in the history
Fixes issues with Vulkan drivers on non-FHS compilant Linux distros (for example, on NixOS).

#199
  • Loading branch information
Kron4ek authored Nov 3, 2024
1 parent 78082b1 commit 8e63d03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conty-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if (( EUID == 0 )) && [ -z "$ALLOW_ROOT" ]; then
fi

# Conty version
script_version="1.26.2"
script_version="1.26.3"

# Important variables to manually adjust after modification!
# Needed to avoid problems with mounting due to an incorrect offset.
Expand Down Expand Up @@ -832,6 +832,7 @@ run_bwrap () {
"${unshare_net[@]}" \
"${set_vars[@]}" \
--setenv PATH "${CUSTOM_PATH}" \
--setenv XDG_DATA_DIRS "/usr/local/share:/usr/share:${XDG_DATA_DIRS}" \
"${command_line[@]}"
}

Expand Down

0 comments on commit 8e63d03

Please sign in to comment.