Unverified Commit 7e623c1a authored by Tristan Ross's avatar Tristan Ross
Browse files

llvmPackages_19.lldb-manpages: copy llvm docs for python llvm_slug module

parent 26d737c3
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -30,11 +30,14 @@
let
  src' =
    if monorepoSrc != null then
      runCommand "lldb-src-${version}" { } ''
      runCommand "lldb-src-${version}" { } (''
        mkdir -p "$out"
        cp -r ${monorepoSrc}/cmake "$out"
        cp -r ${monorepoSrc}/lldb "$out"
      '' else src;
      '' + lib.optionalString (lib.versionAtLeast release_version "19" && enableManpages) ''
        mkdir -p "$out/llvm"
        cp -r ${monorepoSrc}/llvm/docs "$out/llvm/docs"
      '') else src;
  vscodeExt = {
    name = if lib.versionAtLeast release_version "18" then "lldb-dap" else "lldb-vscode";
    version = if lib.versionAtLeast release_version "18" then "0.2.0" else "0.1.0";