git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #129223 from gebner/ccls-resourcedir

ccls: set resource directory

commit4849dec4e93a9ee51d285b760a6fda4272e78483 authorGabriel Ebner <gebner@gebner.org> dateSun 4 Jul 2021, 13:58 (5 years ago) parent1f64493db37a86
1 file changed+1−1
pkgs/development/tools/misc/ccls/wrapper+1−1
pkgs/development/tools/misc/ccls/wrapper+1−1
@@ -4,6 +4,6 @@ printf -v extraArgs ',\"%s\"' \
44 $(cat @clang@/nix-support/libc-cflags \
55 @clang@/nix-support/libcxx-cxxflags) \
66 ${NIX_CFLAGS_COMPILE}
7−initString="--init={\"clang\":{\"extraArgs\":[${extraArgs:1}]}}"
7+initString="--init={\"clang\":{\"extraArgs\":[${extraArgs:1}],\"resourceDir\":\"@clang@/resource-root\"}}"
88
99exec -a "$0" "@out@/bin/@wrapped@" "${initString}" "$@"