Commit Graph

170 Commits

Author SHA1 Message Date
github-actions[bot]
09d8c7ec2f
Merge master into staging-next 2024-10-29 18:04:32 +00:00
Fabián Heredia Montiel
34b62f7c47 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-27 16:10:56 -06:00
Dimitar Nestorov
a59c4dfadd
darwin.xcode: add 16.1 2024-10-27 17:16:04 +02:00
Emily
1448160008
darwin.xcode: add 15.0.1 and 16 (#343216) 2024-10-27 13:09:04 +00:00
github-actions[bot]
a9f08a2b87
Merge master into staging-next 2024-10-18 12:05:39 +00:00
Randy Eckenrode
48ae217cc5
darwin.locale: reinit at 118
The locale data used on macOS has not been included in a source release
since adv_cmds-118. Fortunately, that data can be parsed by the current
version of adv_cmds. It’s a bit old, but other sources of data (such as
FreeBSD) are not compatible enough and may cause divergent behavior.
2024-10-11 17:52:52 -04:00
Emily
b0cfb8ec2b
moltenvk: update for the new xcbuild, the new SDK, and the new version plus cleanup (#346962) 2024-10-11 01:29:59 +01:00
Randy Eckenrode
bafc6ff88d
darwin.xattr: replace with xattr from file_cmds
file_cmds 352.40.6 added a C-based implementation of xattr, which is the
version of xattr used on recent releases of macOS. Align nixpkgs with
what macOS is shipping, which has also the benefit of allowing xattr to
be cross-compiled (previously precluded due to Python limitations).
2024-10-10 16:23:16 -04:00
Randy Eckenrode
6c6b7b0cc0
darwin.apple-source-releases: switch to new source release pattern 2024-10-10 16:23:12 -04:00
Randy Eckenrode
6b6277ee90
darwin.xnu: remove and replace with stubs 2024-10-10 16:23:12 -04:00
Randy Eckenrode
03e585adea
darwin.ppp: remove and replace with stubs 2024-10-10 16:23:12 -04:00
Randy Eckenrode
7be27dc225
darwin.objc4: remove and replace with stubs 2024-10-10 16:23:12 -04:00
Randy Eckenrode
4c77578a9f
darwin.mDNSResponder: remove and replace with stubs 2024-10-10 16:23:12 -04:00
Randy Eckenrode
ec40b04537
darwin.libunwind: improve compatibility with libunwind
Darwin uses the system unwinder, which is based on the LLVM unwinder.
While it’s mostly API-compatible with libunwind, some packages expect to
find it using `pkg-config`. This package provides a compatible file to
allow those packages to use the system unwinder on Darwin.
2024-10-10 16:23:12 -04:00
Randy Eckenrode
7b23be1afd
darwin.libpthread: remove and replace with stubs 2024-10-10 16:23:12 -04:00
Randy Eckenrode
29f65b3b80
darwin.libplatform: remove and replace with stubs 2024-10-10 16:23:11 -04:00
Randy Eckenrode
1afb8b56c4
darwin.libmalloc: remove and replace with stubs 2024-10-10 16:23:11 -04:00
Randy Eckenrode
b9005e19b0
darwin.libdispatch: remove and replace with stubs 2024-10-10 16:23:11 -04:00
Randy Eckenrode
eb7c5f87a3
darwin.libclosure: remove and replace with stubs 2024-10-10 16:23:11 -04:00
Randy Eckenrode
1c2dde0b36
darwin.launchd: remove and replace with stubs 2024-10-10 16:23:11 -04:00
Randy Eckenrode
2ade0ae6b9
darwin.hfs: remove and replace with stubs (including hfsHeaders) 2024-10-10 16:23:11 -04:00
Randy Eckenrode
cce88cf198
darwin.eap8021x: remove and replace with stubs 2024-10-10 16:23:11 -04:00
Randy Eckenrode
8a593830ec
darwin.dyld: remove and replace with stubs 2024-10-10 16:23:11 -04:00
Randy Eckenrode
ae78385296
darwin.dtrace: remove and replace with stubs 2024-10-10 16:23:11 -04:00
Randy Eckenrode
d78b641fee
darwin.darwin-stubs: remove and replace with stubs
These are a different kind of stubs that do nothing except tell you to
check the documentation on how to use the new Darwin SDK instead.
2024-10-10 16:23:10 -04:00
Randy Eckenrode
ac79109639
darwin.configd: remove and replace with stubs (including configdHeaders) 2024-10-10 16:23:10 -04:00
Randy Eckenrode
fd2ae224d5
darwin.architecture: remove and replace with stubs 2024-10-10 16:23:10 -04:00
Randy Eckenrode
07272a045f
darwin.Security: remove and replace with stubs 2024-10-10 16:23:10 -04:00
Randy Eckenrode
db40aca353
darwin.Libsystem: remove and replace with stubs 2024-10-10 16:23:10 -04:00
Randy Eckenrode
fe9623e292
darwin.Librpcsvc: remove and replace with stubs 2024-10-10 16:23:10 -04:00
Randy Eckenrode
b47afcc7bd
darwin.Libnotify: remove and replace with stubs 2024-10-10 16:23:10 -04:00
Randy Eckenrode
67271abd3c
darwin.Libm: remove and replace with stubs 2024-10-10 16:23:10 -04:00
Randy Eckenrode
0d765426e3
darwin.Libinfo: remove and replace with stubs 2024-10-10 16:23:09 -04:00
Randy Eckenrode
2e1f901cd8
darwin.Libc: remove and replace with stubs 2024-10-10 16:23:09 -04:00
Randy Eckenrode
65650be7d7
darwin.IOKit: remove and replace with stubs 2024-10-10 16:23:09 -04:00
Randy Eckenrode
390e8e79f3
darwin.CoreSymbolication: remove and replace with stubs 2024-10-10 16:23:09 -04:00
Randy Eckenrode
4fbe41403d
darwin.CommonCrypto: remove and replace with stubs 2024-10-10 16:23:09 -04:00
Randy Eckenrode
2ed29e21b6
darwin.CarbonHeaders: remove and replace with stubs 2024-10-10 16:23:09 -04:00
Randy Eckenrode
7a8e3bf86e
darwin.CF: remove and replace with stubs 2024-10-10 16:23:09 -04:00
Randy Eckenrode
b8be4c4e6d
darwin.libtapi: add to darwin-aliases.nix 2024-10-10 16:23:06 -04:00
Randy Eckenrode
4624bd7959
darwin.adv_cmds: convert to Meson and use mkAppleDerivation 2024-10-10 16:23:04 -04:00
Randy Eckenrode
c218ce1e4d
darwin: replace framework chooser with stubs 2024-10-10 16:22:59 -04:00
Randy Eckenrode
0a3c487571
darwin.apple_sdk: convert frameworks and libs to stubs 2024-10-10 16:22:59 -04:00
Randy Eckenrode
480227777b
darwin.apple_sdk_12_3: convert frameworks and libs to stubs 2024-10-10 16:22:59 -04:00
Randy Eckenrode
fcd9dc8ac6
darwin.apple_sdk_11_0: convert frameworks and libs to stubs 2024-10-10 16:22:59 -04:00
Randy Eckenrode
17aeace4d9
darwin: prepare for adding stub packages 2024-10-10 16:22:59 -04:00
Randy Eckenrode
d1c2539523
darwin: add mkStub for deprecating frameworks 2024-10-10 16:22:59 -04:00
Randy Eckenrode
121149836e
darwin: add xcodeProjectCheckHook
This hook is used by source releases that build with Meson to assert
that the Xcode project has not changed since the previous release. This
is meant to be a check to force those updating source release packages
to make sure they have incorporated any changes that were made to the
Xcode project into the Meson build.
2024-10-10 01:07:39 -04:00
Randy Eckenrode
5721c4fa47
darwin: add libSystem
The new Darwin SDK pattern relies on an effectively empty, stub libc
implementation. The actual libSystem to be linked is located dynamically
based on the active SDK for the target. Independent build, host, and
target SDKs are all supported by Darwin.

The stub libSystem contains empty `include` and `lib` folders to avoid
warnings from wrappers that add those paths unconditionally, which can
turn into errors when a package is building with warnings-as-errors.

While it would be nice if a fallback libc could be provided, SDK headers
are not compatible between framework versions. Providing a fallback
risks mixing headers from different frameworks, which can result in hard
to diagnose errors involving semicolons or other punctuation.
2024-10-10 01:07:39 -04:00
Randy Eckenrode
08ad88285d
darwin: add bootstrapStdenv
Packages propagated by the SDK need to use a stdenv that does not
propagate anything. Otherwise, an infinite recursion will result when
building those packages.

For consistency, all source releases should use the bootstrapStdenv.
2024-10-10 01:07:38 -04:00