Loading pkgs/development/compilers/llvm/common/lldb.nix +19 −20 Original line number Diff line number Diff line Loading @@ -32,7 +32,20 @@ }: let 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"; }; in stdenv.mkDerivation ( finalAttrs: { passthru.monorepoSrc = monorepoSrc; pname = "lldb"; inherit version; src = if monorepoSrc != null then runCommand "lldb-src-${version}" { inherit (monorepoSrc) passthru; } ( '' Loading @@ -51,20 +64,6 @@ let ) 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"; }; in stdenv.mkDerivation ( finalAttrs: { passthru.monorepoSrc = monorepoSrc; pname = "lldb"; inherit version; src = src'; # There is no `lib` output because some of the files in `$out/lib` depend on files in `$out/bin`. # For example, `$out/lib/python3.12/site-packages/lldb/lldb-argdumper` is a symlink to `$out/bin/lldb-argdumper`. Loading Loading
pkgs/development/compilers/llvm/common/lldb.nix +19 −20 Original line number Diff line number Diff line Loading @@ -32,7 +32,20 @@ }: let 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"; }; in stdenv.mkDerivation ( finalAttrs: { passthru.monorepoSrc = monorepoSrc; pname = "lldb"; inherit version; src = if monorepoSrc != null then runCommand "lldb-src-${version}" { inherit (monorepoSrc) passthru; } ( '' Loading @@ -51,20 +64,6 @@ let ) 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"; }; in stdenv.mkDerivation ( finalAttrs: { passthru.monorepoSrc = monorepoSrc; pname = "lldb"; inherit version; src = src'; # There is no `lib` output because some of the files in `$out/lib` depend on files in `$out/bin`. # For example, `$out/lib/python3.12/site-packages/lldb/lldb-argdumper` is a symlink to `$out/bin/lldb-argdumper`. Loading