Merge pull request #161955 from primeos/chromium

chromium: Suffix instead of prefix ${xdg-utils}/bin to $PATH
This commit is contained in:
Michael Weiss 2022-02-26 18:04:20 +01:00 committed by GitHub
commit 71b7694016
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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