From 7979e9b74fb400e227da37d6f75f211e9dfa30cf Mon Sep 17 00:00:00 2001 From: Tristan Ross Date: Sun, 30 Mar 2025 20:58:13 -0700 Subject: [PATCH] llvmPackages_{12,13,14,15,16,17,18,19,20,git}.lldb: use final attrs instead of rec --- pkgs/development/compilers/llvm/common/lldb.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/llvm/common/lldb.nix b/pkgs/development/compilers/llvm/common/lldb.nix index 7b436d7aa1df..6c43cc88df18 100644 --- a/pkgs/development/compilers/llvm/common/lldb.nix +++ b/pkgs/development/compilers/llvm/common/lldb.nix @@ -58,7 +58,8 @@ let in stdenv.mkDerivation ( - rec { + finalAttrs: + { passthru.monorepoSrc = monorepoSrc; pname = "lldb"; inherit version; @@ -73,7 +74,7 @@ stdenv.mkDerivation ( "dev" ]; - sourceRoot = lib.optional (lib.versionAtLeast release_version "13") "${src.name}/${pname}"; + sourceRoot = lib.optional (lib.versionAtLeast release_version "13") "${finalAttrs.src.name}/${finalAttrs.pname}"; patches = let