about summary refs log tree commit diff
path: root/pkgs/development/compilers/llvm/13
diff options
context:
space:
mode:
author7c6f434c <7c6f434c@mail.ru>2023-07-18 14:18:49 +0000
committerGitHub <noreply@github.com>2023-07-18 14:18:49 +0000
commit1e8f4ab411334436a74aa91aa0d4d45ccede9720 (patch)
treeb5a0097601eee384ce416daec43318af87908cee /pkgs/development/compilers/llvm/13
parent915e9d8ef01d5881b0557ae43c4a3b2a8da3a497 (diff)
parent93b5ec008455834e208e7fcab48031a285a36bb4 (diff)
Merge pull request #191801 from ShamrockLee/clang-python-scan-view
clang-unwrapped: mv {$out,$python}/share/scan-view/*.py
Diffstat (limited to 'pkgs/development/compilers/llvm/13')
-rw-r--r--pkgs/development/compilers/llvm/13/clang/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/compilers/llvm/13/clang/default.nix b/pkgs/development/compilers/llvm/13/clang/default.nix
index f1a3e74fa6bc9..b423f50d98227 100644
--- a/pkgs/development/compilers/llvm/13/clang/default.nix
+++ b/pkgs/development/compilers/llvm/13/clang/default.nix
@@ -66,12 +66,13 @@ let
           --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." \
           --replace "\''${_IMPORT_PREFIX}/lib/libclang-cpp." "$lib/lib/libclang-cpp."
 
-      mkdir -p $python/bin $python/share/clang/
+      mkdir -p $python/bin $python/share/{clang,scan-view}
       mv $out/bin/{git-clang-format,scan-view} $python/bin
       if [ -e $out/bin/set-xcode-analyzer ]; then
         mv $out/bin/set-xcode-analyzer $python/bin
       fi
       mv $out/share/clang/*.py $python/share/clang
+      mv $out/share/scan-view/*.py $python/share/scan-view
       rm $out/bin/c-index-test
       patchShebangs $python/bin