Merge pull request #309332 from reckenrode/lldb-fix

Revert "llvmPackages.lldb: combine `out` and `lib` outputs on Darwin"
This commit is contained in:
Randy Eckenrode 2024-05-05 15:44:20 -04:00 committed by GitHub
commit 56cafa47ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,9 +50,7 @@ stdenv.mkDerivation (rec {
src = src';
inherit patches;
# LLDB expects to find the path to `bin` relative to `lib` on Darwin. It cant be patched with the location of
# the `lib` output because that would create a cycle between it and the `out` output.
outputs = [ "out" "dev" ] ++ lib.optionals (!stdenv.isDarwin) [ "lib" ];
outputs = [ "out" "lib" "dev" ];
sourceRoot = lib.optional (lib.versionAtLeast release_version "13") "${src.name}/${pname}";