瀏覽代碼

nixpkgs/elvish: place XDG_DATA_DIRS first

Placing it after causes any nested elvish's to use the old code instead.
Thomas Dy 2 年之前
父節點
當前提交
dd7b8d0fe4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .config/nixpkgs/elvish/flake.nix

+ 1 - 1
.config/nixpkgs/elvish/flake.nix

@@ -56,7 +56,7 @@
         in
         writeScriptBin "elvish" ''
           #!/bin/sh
-          export XDG_DATA_DIRS="$XDG_DATA_DIRS:${config}"
+          export XDG_DATA_DIRS="${config}:$XDG_DATA_DIRS"
           export PATH="$PATH:${carapace-bin}/bin"
           if [ -z "$KEYCTL_INIT" ]; then
             export KEYCTL_INIT=1