From 2ff8b1a9b28e05aa18affb93c6919995adc8b5a2 Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Thu, 21 May 2026 17:51:10 +0200 Subject: [PATCH] vimPlugins.clang_complete: override license to bsd3 and ncsa Co-authored-by: ShadowRZ --- pkgs/applications/editors/vim/plugins/overrides.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 57d023c43488..be86f48036b2 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -543,7 +543,7 @@ assertNoAdditions { ]; }; - clang_complete = super.clang_complete.overrideAttrs { + clang_complete = super.clang_complete.overrideAttrs (old: { # In addition to the arguments you pass to your compiler, you also need to # specify the path of the C++ std header (if you are using C++). # These usually implicitly set by cc-wrapper around clang (pkgs/build-support/cc-wrapper). @@ -559,7 +559,14 @@ assertNoAdditions { substituteInPlace "$out"/plugin/libclang.py \ --replace-fail "/usr/lib/clang" "${llvmPackages.clang.cc}/lib/clang" ''; - }; + meta = old.meta // { + # Docs say bsd3, except some LLVM project files under ncsa. + license = with lib.licenses; [ + bsd3 + ncsa + ]; + }; + }); clangd_extensions-nvim = super.clangd_extensions-nvim.overrideAttrs (old: { meta = old.meta // {