From 929e918a51e2529de8cfe600d77adeabb25d65ac Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Fri, 23 May 2025 19:57:58 +0200 Subject: [PATCH] llvmPackages.clang-unwrapped: enable debug info This increases the memory required to link by quite a bit, but it should be fine for Hydra, and people building themselves with insufficient RAM can either disable it, or just decrease --cores. --- pkgs/development/compilers/llvm/common/clang/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/compilers/llvm/common/clang/default.nix b/pkgs/development/compilers/llvm/common/clang/default.nix index a34746b8e079..d121bfcd7869 100644 --- a/pkgs/development/compilers/llvm/common/clang/default.nix +++ b/pkgs/development/compilers/llvm/common/clang/default.nix @@ -201,6 +201,8 @@ stdenv.mkDerivation ( "python" ]; + separateDebugInfo = true; + postInstall = '' ln -sv $out/bin/clang $out/bin/cpp