mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-13 16:34:27 +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.
This commit is contained in:
parent
f9a10f14b0
commit
ce6c31c312
@ -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") {
|
||||
|
Loading…
Reference in New Issue
Block a user