Commit Graph

29145 Commits

Author SHA1 Message Date
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
29a87d6751
darwin.top: convert to Meson and use mkAppleDerivation 2024-10-10 16:23:07 -04:00
Randy Eckenrode
97da1bdf09
darwin.text_cmds: convert to Meson and use mkAppleDerivation 2024-10-10 16:23:07 -04:00
Randy Eckenrode
9ea9221a1e
darwin.system_cmds: use mkAppleDerivation 2024-10-10 16:23:06 -04:00
Randy Eckenrode
a19b0a7345
darwin.shell_cmds: convert to Meson and use mkAppleDerivation 2024-10-10 16:23:06 -04:00
Randy Eckenrode
149eb5aef4
darwin.removefile: convert to Meson and use mkAppleDerivation 2024-10-10 16:23:06 -04:00
Randy Eckenrode
6fca3b4a70
darwin.PowerManagement: convert to Meson and use mkAppleDerivation 2024-10-10 16:23:06 -04:00
Randy Eckenrode
822a865209
darwin.network_cmds: convert to Meson and use mkAppleDerivation 2024-10-10 16:23:06 -04:00
Randy Eckenrode
4b4270cca3
darwin.libutil: convert to Meson and use mkAppleDerivation 2024-10-10 16:23:06 -04:00
Randy Eckenrode
375057b9f5
darwin.libresolv: convert to Meson and use mkAppleDerivation 2024-10-10 16:23:06 -04:00
Randy Eckenrode
9af3511fb2
darwin.libiconv: use EOF instead of -header for the herdoc 2024-10-10 16:23:05 -04:00
Randy Eckenrode
b0884d52f2
darwin.libiconv: use finalPackage when referencing doInstallCheck 2024-10-10 16:23:05 -04:00
Randy Eckenrode
ca4dd24306
darwin.libiconv: move back to darwin attrset and use mkAppleDerivation 2024-10-10 16:23:05 -04:00
Randy Eckenrode
0335ce09c0
darwin.ICU: convert to upstream build system and use mkAppleDerivation 2024-10-10 16:23:05 -04:00
Randy Eckenrode
eed715ac43
darwin.file_cmds: convert to Meson and use mkAppleDerivation 2024-10-10 16:23:05 -04:00
Randy Eckenrode
97454b46d5
darwin.diskdev_cmds: convert to Meson and use mkAppleDerivation 2024-10-10 16:23:05 -04:00
Randy Eckenrode
83807dc4e9
darwin.developer_cmds: convert to Meson and use mkAppleDerivation 2024-10-10 16:23:05 -04:00
Randy Eckenrode
b8dbc16f1b
darwin.Csu: use mkAppleDerivation 2024-10-10 16:23:05 -04:00
Randy Eckenrode
8574626dbb
darwin.copyfile: convert to Meson and use mkAppleDerivation 2024-10-10 16:23:05 -04:00
Randy Eckenrode
b878c44404
darwin.bsdmake: add to darwin-aliases.nix
Use portable bmake instead of Apple’s port of BSD Make.
2024-10-10 16:23:04 -04:00
Randy Eckenrode
c5c276b6cb
darwin.bootstrap_cmds: convert to Meson and use mkAppleDerivation 2024-10-10 16:23:04 -04:00
Randy Eckenrode
94b14746e0
darwin.basic_cmds: convert to Meson and use mkAppleDerivation 2024-10-10 16:23:04 -04:00
Randy Eckenrode
8e7056cc07
darwin.AvailabilityVersions: remove workaround
The patch adding support for `__ENVIRONMENT_OS_VERSION_MIN_REQUIRED__`
to clang has been backported to all versions of clang in nixpkgs (except
for clang 12), allowing this workaround to be dropped.
2024-10-10 16:23:04 -04:00
Randy Eckenrode
129a959fad
darwin.AvailabilityVersions: also generate _symbol_aliasing.h 2024-10-10 16:23:04 -04:00
Randy Eckenrode
78076b3c12
darwin.AvailabilityVersions: use mkAppleDerivation 2024-10-10 16:23:04 -04:00
Randy Eckenrode
4624bd7959
darwin.adv_cmds: convert to Meson and use mkAppleDerivation 2024-10-10 16:23:04 -04:00
Randy Eckenrode
9ecb69c827
darwin.apple_sdk: drop gen-frameworks.py (replaced by new SDK pattern) 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
d1c2539523
darwin: add mkStub for deprecating frameworks 2024-10-10 16:22:59 -04:00
Randy Eckenrode
639108ea70
darwin.libsbuf: init at 14.1
libsbuf is required by some of the source release updates that will
be done. Unfortunately, it is only available on macOS 14 and newer, and
there is no source release available currently.

This is a port of libsbuf from FreeBSD, which appears to be the origin
of the header provided in the 14.x SDK. It provides the same ABI as the
system dylib and same API as the the SDK header while being available on
all supported deployment targets in nixpkgs.

Note: This package is not based on libsbuf from the FreeBSD package set
in nixpkgs because: it doesn’t build on Darwin, and using it would pull
many FreeBSD packages into the Darwin bootstrap, which is undesirable.
2024-10-10 16:18:59 -04:00
Randy Eckenrode
6a54c7f6c9
darwin.apple-source-releases: add update-source-releases.sh
Add a new update script that locks the source releases to the indicated
macOS version per the version pins in following repo:

https://github.com/apple-oss-distributions/distribution-macOS
2024-10-10 16:18:59 -04:00
Randy Eckenrode
8f8e240965
darwin.apple-source-releases: add mkAppleDerivation
This is a replacement for the family of `appleDerivation` functions
currently used. It is patterned after the `mkDerivation` used in the BSD
package sets. It also provides additional support for using Meson to
build source releases.
2024-10-10 16:18: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
40d415f4df
darwin: add darwinMinVersionHook
Adding the hook allows the deployment target to be changed without
having to mess with the stdenv. The can also be propagated, which is
useful for libraries that have a minimum deployment target higher than
the default in nixpkgs. In that case, they can propagate the hook to
ensure library users are not targeting an unsupported version.
2024-10-10 01:07:38 -04:00
Emily
e694240f77 Merge staging-next into staging 2024-10-10 01:23:52 +01:00
github-actions[bot]
1404154595
Merge master into staging-next 2024-10-10 00:14:06 +00:00
adisbladis
9ee9cac888
waydroid: 1.4.2 -> 1.4.3; add update script, move to by-name, format, and other cleanup (#346270) 2024-10-10 00:09:42 +00:00
K900
0717a4da77 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-09 21:08:25 +03:00
Franz Pletz
23332e093b
iwd: enable debug info (#346446) 2024-10-09 17:05:32 +02:00
github-actions[bot]
96ea2a3c2f
Merge staging-next into staging 2024-10-09 00:14:47 +00:00
7c6f434c
069ac7f7f6
lvm2: 2.03.26 -> 2.03.27 (#345982) 2024-10-08 22:12:23 +00:00
K900
956f9243c0 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-08 21:15:13 +03:00