chromium: Suffix instead of prefix ${xdg-utils}/bin to $PATH
This is important so that users can choose to use other implementations (e.g., self-written Bash scripts). We only provide xdg-utils as a fallback in case the system isn't properly configured.
This commit is contained in:
parent
426a50f0f8
commit
37a19c55df
@ -207,8 +207,8 @@ in stdenv.mkDerivation {
|
||||
|
||||
export XDG_DATA_DIRS=$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH\''${XDG_DATA_DIRS:+:}\$XDG_DATA_DIRS
|
||||
|
||||
# Mainly for xdg-open but also other xdg-* tools:
|
||||
export PATH="${xdg-utils}/bin\''${PATH:+:}\$PATH"
|
||||
# Mainly for xdg-open but also other xdg-* tools (this is only a fallback; \$PATH is suffixed so that other implementations can be used):
|
||||
export PATH="\$PATH\''${PATH:+:}${xdg-utils}/bin"
|
||||
|
||||
.
|
||||
w
|
||||
|
Loading…
Reference in New Issue
Block a user