mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-17 12:50:04 +00:00
llvmPackages_{12,13}.lldb: don't try to find nonexistent patch
We just need to make sure the attribute evaluates so we can cleanly access `meta.broken` for those versions. (cherry picked from commitce6c31c312) (cherry picked from commit9bf90993f4)
This commit is contained in:
committed by
Vladimír Čunát
parent
85f95c56e4
commit
fe5ea976bf
@@ -713,8 +713,12 @@ let
|
||||
#
|
||||
# See here for some context:
|
||||
# https://github.com/NixOS/nixpkgs/pull/194634#issuecomment-1272129132
|
||||
#
|
||||
# Patch is applied for >= 14 as the versions below are broken anyways.
|
||||
++ lib.optional (
|
||||
stdenv.targetPlatform.isDarwin && lib.versionOlder stdenv.targetPlatform.darwinSdkVersion "11.0"
|
||||
lib.versionAtLeast metadata.release_version "14"
|
||||
&& stdenv.targetPlatform.isDarwin
|
||||
&& lib.versionOlder stdenv.targetPlatform.darwinSdkVersion "11.0"
|
||||
) (metadata.getVersionFile "lldb/cpu_subtype_arm64e_replacement.patch");
|
||||
}
|
||||
// lib.optionalAttrs (lib.versions.major metadata.release_version == "16") {
|
||||
|
||||
Reference in New Issue
Block a user