Commit Graph

28681 Commits

Author SHA1 Message Date
Emily
cc121a9e81
hello: make sure libiconv is linked (#346939) 2024-10-11 01:12:08 +01:00
Emily
66d78e097f
darwin: change the SDK pattern, update the SDKs, and update source releases (#346043) 2024-10-11 00:58:09 +01:00
Randy Eckenrode
e3f28292e8
xar: 498 -> 501
https://github.com/apple-oss-distributions/xar/compare/xar-498...xar-501
2024-10-10 16:23:16 -04:00
Randy Eckenrode
8a0d884405
libxo: init at 1.7.5 2024-10-10 16:23:08 -04:00
Randy Eckenrode
f90d4d5e5b
ld64: adopt source release private headers pattern
Most Darwin source releases vendor private headers in a separate
derivation and add them to `NIX_CFLAGS_COMPILE` (to avoid propagating
them in static builds). Adopt this pattern for consistency with the
other source releases.
2024-10-10 16:23:07 -04:00
Randy Eckenrode
1c1774806d
ld64: drop libunwind as a dependency
libunwind is included in the SDK, so it’s no longer necessary to include
it as an explicit dependency.
2024-10-10 16:23:07 -04:00
Randy Eckenrode
2bf9c22eb1
ld64: ensure ld64 checks pass with the new SDK
The SDK library path is normally add by the ld wrapper, but ld64 is
being used unwrapped in this check phase. Ensure it can find the
requires SDK stubs by passing them via the clang wrapper.
2024-10-10 16:23:07 -04:00
Randy Eckenrode
39041627fe
cctools: move libtool to its own output
Many packages need only libtool from cctools, which is different from
GNU libtool (commonly used with other autotools), so it can’t be
provided by default with the Darwin bintools. Providing it as a separate
output allows packages to use cctools’s libtool without pulling other
tools they may not want.
2024-10-10 16:23:07 -04:00
Randy Eckenrode
9d376e2c53
cctools: drop darwin.objc4 from build inputs
It’s not necessary with the new SDK.
2024-10-10 16:23:07 -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
75bc428cf2
xcbuild: 0.1.2-pre -> 0.1.1-unstable-2019-11-20
xcbuild is archived and will never be updated, so bump it to the last
commit in the repo.
2024-10-10 16:23:03 -04:00
Randy Eckenrode
dd569d8913
xcbuild: avoid xcrun invoking itself via /usr/bin stubs
macOS ships with several stubs in `/usr/bin` that invoke `xcrun` to run
the tools from the active SDK. When `/usr/bin` is in `PATH`, this will
cause `xcrun` from xcbuild to invoke itself over and over. Filtering
`/usr/bin` from `xcrun`’s search path prevents this from happening.
2024-10-10 16:23:03 -04:00
Randy Eckenrode
fee84be752
xcbuild: suppress xcbuild passthru warning for now 2024-10-10 16:23:03 -04:00
Randy Eckenrode
49834c3000
xcbuild: suppress warning for now
Enabling this by default requires additional clean that will be done
after the Darwin refactor has been merged.
2024-10-10 16:23:03 -04:00
Randy Eckenrode
118a214ac5
xcbuild: warn when someone tries to override sdkVer
xcbuild determines the SDK dynamically, so overriding the `sdkVer` no
longer works. If packages want to change the SDK, they need to add one
of the SDK packages to their inputs.
2024-10-10 16:23:03 -04:00
Randy Eckenrode
15ac657942
xcbuild: refactor to support the new SDKs
Take advantage of the new Darwin SDKs to dynamically determine SDK
information such as path, version, and binaries (via `xcrun --find`).
This is accomplished by relying on the existance of `DEVELOPER_DIR`,
which the SDK will set up in nixpkgs.
2024-10-10 16:23:02 -04:00
Randy Eckenrode
f51c62a7f8
xcbuild: format with nixfmt-rfc-style 2024-10-10 16:23:02 -04:00
Randy Eckenrode
45e65c16d2
xcbuild: move to pkgs/by-name 2024-10-10 16:23:02 -04:00
Randy Eckenrode
aef4614421
xar: add xarMinimal
xarMinimal allows e2fsprogs to build fuse2fs again on Darwin.
See https://github.com/NixOS/nixpkgs/pull/339412.
2024-10-10 16:23:02 -04:00
Randy Eckenrode
472d10b75b
cmake: do in fact use the Darwin SDK in the setup hook 2024-10-10 16:23:00 -04:00
Randy Eckenrode
54d591b2b4
cmake: undo /var/empty workaround for Darwin SDK paths
With this workaround enabled, CMake looks for SDK headers and libraries
in `${SDKROOT}/var/empty`, which ensures it will not find them.
Disabling the workaround in just this case allows CMake’s SDK support to
work with the SDKs in nixpkgs while still not including other, impure
paths in its search paths.
2024-10-10 16:23:00 -04:00
Randy Eckenrode
8fae28553a
apple-sdk_14: init at 14.4 2024-10-10 16:22:58 -04:00
Randy Eckenrode
4283b8f00a
apple-sdk_13: init at 13.3 2024-10-10 16:22:58 -04:00
Randy Eckenrode
689e8980bc
apple-sdk_12: init at 12.3 2024-10-10 16:22:58 -04:00
Randy Eckenrode
d10c85b19b
apple-sdk_10_15: init at 10.15.6 2024-10-10 16:22:58 -04:00
Randy Eckenrode
a447cba849
apple-sdk_10_14: init at 10.14.6 2024-10-10 16:22:58 -04:00
Randy Eckenrode
3fb982d0e2
apple-sdk_10_13: init at 10.13.2 2024-10-10 16:22:58 -04:00
Randy Eckenrode
556790248f
apple-sdk: init at 10.12.2 and 11.3
This is a new packaging of the Darwin SDK. Instead of splitting
libraries and frameworks into separate packages, it provides a single
package for the whole SDK.

# Features

- Vendored files are removed from the SDK. There are 50+ different
  packages that are vendored by upstream (depending on the version);
- Components that are built in nixpkgs (either from upstream or from the
  source releases) are also removed. If they need to be included by
  default, they are propagated;
- A single SDK pattern is used to package all SDKs, and scripts are
  provided to aid updating the SDK version and its source release
  versions. This makes adding new SDKs much easier;
- SDK overrides are handled by adding the SDK version you require. If
  multiple SDKs are present, only the newest is used. It is possible to
  have different SDKs for each of build, host, and target platforms;
- Private headers are no longer provided by default unless you use the
  SDK’s `privateFrameworksHook` to add them. It does the right thing
  when multiple SDKs are in your inputs;
- Source releases for the SDK version are available via a passthru
  `sourceRelease` function. This is mostly useful for getting private
  headers for building source releases in the darwin attrset; and
- The same versions of propagated components are used on both platforms
  (e.g., the same libresult, libiconv, etc).

See `pkgs/by-name/ap/apple-sdk/README.md` for details on how the SDK
derivation is structured and how to update it.
2024-10-10 16:22:58 -04:00
github-actions[bot]
144082b47e
Merge staging-next into staging 2024-10-10 18:05:19 +00:00
github-actions[bot]
c64ae284c0
Merge master into staging-next 2024-10-10 18:04:46 +00:00
nixpkgs-merge-bot[bot]
46ef0f39dd
biglybt: 3.6.0.0 -> 3.7.0.0 (#346682) 2024-10-10 17:32:10 +00:00
K900
dffd4b36a2 digikam: fix build with Qt 6.8 2024-10-10 19:53:53 +03:00
Fabián Heredia Montiel
0cdc526090
deno: 1.46.3 -> 2.0.0, deno_1: init at 1.46.3 (#347484) 2024-10-10 09:36:33 -06:00
Gaetan Lepage
d579d17ebc zed-editor: 0.156.0 -> 0.156.1
Diff: https://github.com/zed-industries/zed/compare/refs/tags/v0.156.0...0.156.1

Changelog: https://github.com/zed-industries/zed/releases/tag/v0.156.1
2024-10-10 16:44:42 +02:00
Franz Pletz
550c99213e
ttop: 1.2.8 -> 1.5.2 (#347577) 2024-10-10 15:05:29 +02:00
Franz Pletz
46b63d3ddc
chrony: 4.5 -> 4.6.1; move to by-name (#346858) 2024-10-10 14:53:56 +02:00
Martin Weinelt
ecf38cbe53
music-assistant: 2.2.6 -> 2.2.7 (#346626) 2024-10-10 14:49:05 +02:00
Sandro
2273a9f03b
exo: 0-unstable-2024-10-06 -> 0-unstable-2024-10-09 (#347545) 2024-10-10 14:44:18 +02:00
Maxime Brunet
fad435d087
terraform-docs: install shell completions (#347637) 2024-10-10 14:29:27 +02:00
Azat Bahawi
9d41f26111
mold: 2.34.0 -> 2.34.1 (#347671) 2024-10-10 12:22:43 +00:00
Matthieu Coudron
1ceb9a785a
glab: 1.45.0 -> 1.47.0 , move to by-name (#347557) 2024-10-10 14:19:21 +02:00
Franz Pletz
d3ad1e65ad
librewolf-bin: 129.0.2-1 -> 131.0.2-1 (#347690) 2024-10-10 14:15:39 +02:00
github-actions[bot]
61a438a474
Merge staging-next into staging 2024-10-10 12:06:10 +00:00
github-actions[bot]
a5883bc172
Merge master into staging-next 2024-10-10 12:05:39 +00:00
Franz Pletz
92c31ec430
attic-client: 0-unstable-2024-10-04 -> 0-unstable-2024-10-06 (1b29816) (#347103) 2024-10-10 14:01:15 +02:00
Franz Pletz
90e4901f08
aaaaxy: 1.5.202 -> 1.5.208 (#347152) 2024-10-10 13:52:41 +02:00
Franz Pletz
9958dd2df8
immersed-vr: rename to immersed (#341266) 2024-10-10 13:47:06 +02:00
Martin Weinelt
979e9e6644
codechecker: init at 6.24.0 (#345615) 2024-10-10 13:43:02 +02:00
Franz Pletz
ae8c1e57f7
treewide: use mirror urls (#347454) 2024-10-10 13:05:23 +02:00
Thiago Kenji Okada
53c571f3ac
osu-lazer-bin: fix hash (#347689) 2024-10-10 11:59:47 +01:00