about summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/apple-source-releases
AgeCommit message (Collapse)AuthorFilesLines
2024-05-06Merge pull request #306697 from reckenrode/apple-oss-pythontoonn1-4/+2
apple-source-releases: always use python3Minimal
2024-05-01apple-source-releases: always use python3MinimalRandy Eckenrode1-4/+2
Using python3Minimal avoids infinite recursions in the stdenv bootstrap on x86_64-darwin when building Python with configd support.
2024-05-01Merge pull request #306960 from reckenrode/system_cmds-fixtoonn1-4/+5
darwin.system_cmds: fix build without CoreFoundation hook
2024-04-27darwin.libiconv: remove and add to darwin-aliasesRandy Eckenrode3-42/+0
2024-04-26darwin.system_cmds: fix build without CoreFoundation hookRandy Eckenrode1-4/+5
2024-04-09Merge branch 'staging-next' into stagingWeijia Wang11-11/+11
2024-04-08licenses: rename `apsl{10,20}` -> `apple-psl{10,20}`iliana etaoin11-11/+11
Part 1 of #301908. This renames the two versions of the Apple Public Source License seen in nixpkgs; `apsl20` was often confused as being for the widely-used Apache License 2.0.
2024-04-04Merge pull request #301066 from philiptaron/compatible-typosSilvan Mosberger1-1/+1
treewide: fix typos around "compatible" and "compatibility"
2024-04-02libdispatch: fix typo: compatability to compatibilityPhilip Taron1-1/+1
2024-04-02Merge pull request #299969 from runeksvendsen/fix-libsystem-bugWeijia Wang1-17/+6
Libsystem: remove broken `postFetch` step in `darling.src`
2024-04-01`Libsystem`: fix broken `postFetch` step in `darling.src`Rune K. Svendsen1-17/+6
Fixes #297765 The `postFetch` step was broken in several ways: 1. It attempts to unpack the archive, but this has already been done before reaching this step. 2. It unpacks the file `$downloadedFile`, but this file no longer exists because it's been moved to `$renamed`. Additionally, since (1) neither directory `src/opendirectory` nor `src/OpenDirectory` are used for anything, and (2) it's not clear whether Nix produces different hashes depending on file system case sensitivity, the chosen solution is to just remove both these two directories for now. If later a file from either directory is needed, an investigation needs to be done on how Nix hashes archives with clashing names on case insensitive file systems.
2024-03-31Revert "darwin.libiconv: remove and add to darwin-aliases"Randy Eckenrode3-0/+42
This reverts commit 521ea079b9e39d6bd66a919cb3449493d975ab6d.
2024-03-28Merge pull request #299613 from reckenrode/libiconv-switchRandy Eckenrode3-42/+0
darwin.libiconv: switch to libiconvReal and add to darwin-aliases
2024-03-27darwin.libiconv: remove and add to darwin-aliasesRandy Eckenrode3-42/+0
2024-03-16darwin.system_cmds: 735.50.6 -> 970.0.4Randy Eckenrode6-153/+699
- Update to the latest available version from Apple; - Use Meson because dealing with xcbuild is too much trouble; and - Conditionally build certain programs when newer SDKs are available.
2024-03-16darwin.libplatform: fix build of 11.0 SDK source releaseRandy Eckenrode2-6/+15
2024-03-15appleDerivation: support `mkDerivation` fixpointRandy Eckenrode1-2/+2
2024-03-11llvmPackages_{12,13,14,15,16,17,git}.{libcxx,libcxxabi}: merge libcxxabi ↵a-n-n-a-l-e-e1-1/+1
into libcxx (#292043) - merge libcxxabi into libcxx for LLVM 12, 13, 14, 15, 16, 17, and git. - remove the link time workaround `-lc++ -lc++abi` from 58 packages as it is no longer required. - fixes https://github.com/NixOS/nixpkgs/issues/166205 - provides alternative fixes for. https://github.com/NixOS/nixpkgs/issues/269548 https://github.com/NixOS/nix/issues/9640 - pkgsCross.x86_64-freebsd builds work again This change can be represented in 3 stages 1. merge libcxxabi into libcxx -- files: pkgs/development/compilers/llvm/[12, git]/{libcxx, libcxxabi} 2. update stdenv to account for merge -- files: stdenv.{adapters, cc.wrapper, darwin} 3. remove all references to libcxxabi outside of llvm (about 58 packages modified) ### merging libcxxabi into libcxx - take the union of the libcxxabi and libcxx cmake flags - eliminate the libcxx-headers-only package - it was only needed to break libcxx <-> libcxxabi circular dependency - libcxx.cxxabi is removed. external cxxabi (freebsd) will symlink headers / libs into libcxx. - darwin will re-export the libcxxabi symbols into libcxx so linking `-lc++` is sufficient. - linux/freebsd `libc++.so` is a linker script `LINK(libc++.so.1, -lc++abi)` making `-lc++` sufficient. - libcxx/default.nix [12, 17] are identical except for patches and `LIBCXX_ADDITIONAL_LIBRARIES` (only used in 16+) - git/libcxx/defaul.nix does not link with -nostdlib when useLLVM is true so flag is removed. this is not much different than before as libcxxabi used -nostdlib where libcxx did not, so libc was linked in anyway. ### stdenv changes - darwin bootstrap, remove references to libcxxabi and cxxabi - cc-wrapper: remove c++ link workaround when libcxx.cxxabi doesn't exist (still exists for LLVM pre 12) - adapter: update overrideLibcxx to account for a pkgs.stdenv that only has libcxx ### 58 package updates - remove `NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}` as no longer needed - swift, nodejs_v8 remove libcxxabi references in the clang override https://github.com/NixOS/nixpkgs/pull/292043
2023-11-18darwin.libiconv: set mainProgramWeijia Wang1-0/+1
2023-11-12Revert "configd: fix build with clang 16"Randy Eckenrode1-1/+0
This reverts commit 550137e330ebb5e0d7b114f8af2e0d244e07dcb7.
2023-11-12darwin.mDNSResponder: patch header to match SDKRandy Eckenrode1-1/+4
The upstream source release for 765.50.9 defines `_DNS_SD_LIBDISPATCH` to `0` in `dns_sd.h`, but the SDK version of that header actually defines it to `1`. Having it defined to `0` causes packages that expect to use libdispatch-based symbols such as `DNSServiceSetDispatchQueue` to fail to build. Define it to match the SDK to fix those packages.
2023-11-11Merge pull request #265102 from reckenrode/darwin-corefoundationRandy Eckenrode1-7/+10
darwin.stdenv: use CoreFoundation instead of CF
2023-11-07darwin.text_cmds: fix build with clang 16Randy Eckenrode1-1/+6
2023-11-02darwin.configd: fix build with CoreFoundationRandy Eckenrode1-7/+10
2023-10-27darwin.diskdev_cmds: fix build with clang 16Randy Eckenrode2-1/+17
Fix an implicit `int` on argc, which is an error with newer clangs.
2023-10-21darwin.Libm: add missing function declarationsRandy Eckenrode2-0/+299
The patch in this commit is based on the SDK header, which has an ASPL license header even though the updated header is not part of the source distribution of Libm. Adding the missing declarations allows packages such as jq, Ruby, and Guile to build without requiring an SDK that is not built from the source releases.
2023-08-01Merge pull request #243540 from reckenrode/adv_cmds-clang2Artturi1-2/+14
2023-07-23darwin.xnu: Fix stripDirsArtturin1-0/+1
`stripDirs: Ranlib command is empty` Exposed by f46c8c1bcd9830d5e7b0d9264c8dd8f688518d9d
2023-07-14darwin.adv_cmds: fix build with clang 16Randy Eckenrode1-2/+14
darwin.Libc conflicts with libc++ 16. adv_cmds only needs `msgcat.h`, so provide only that in `buildInputs` instead of all of Libc.
2023-06-30configd: fix build with clang 16Randy Eckenrode1-0/+1
This is an additional fix for clang 16, which fails due to an undeclared symbol. Adding `_DNS_SD_LIBDISPATCH` makes the symbol visible in `dns_sd.h`, allowing the build to complete successfully.
2023-06-20Merge pull request #237348 from reckenrode/darwin-libc-cleanuptoonn11-51/+42
darwin.Libsystem: fix existing file error during build
2023-06-12darwin.Libc: stop vendoring headers from other packagesRandy Eckenrode4-43/+1
A number of headers in Libc are being vendored from other packages. Instead of copying them from an earlier Libc, Libsystem now sources them from their respective packages (see below). This allows Libc_old to be dropped and avoids any potential clashes when building Libsystem. libmalloc: * malloc/malloc.h libplatform: * setjmp.h * ucontext.h * libkern/OSAtomic.h * libkern/OSCacheControl.h libpthread: * pthread*.h * sched.h * spawn.h syslog (vendored because only one file is needed): * asl.h xnu: * spawn.h (a different one from libpthread) * libproc.h
2023-06-12darwin.Libsystem: get pthread headers from darwin.libpthreadRandy Eckenrode2-5/+4
Some of the headers are symlinked to the root `include` in upstream Libsystem, so also symlink them there from `include/pthread`.
2023-06-12darwin.Libsystem: get asl.h from upstream syslog sourcesRandy Eckenrode1-1/+13
2023-06-12darwin.Libsystem: get malloc.h from darwin.libmallocRandy Eckenrode1-2/+2
2023-06-12darwin.libmalloc: add at 317.40.8 for the 11.0 SDKRandy Eckenrode2-1/+4
2023-06-12darwin.libmalloc: add at 116.50.8Randy Eckenrode2-0/+12
2023-06-12darwin.xnu: provide additional headers needed by LibsystemRandy Eckenrode3-0/+7
2023-06-11Merge pull request #235487 from reckenrode/system_cmds-clang-fixtoonn2-1/+54
darwin.system_cmds: fix build with clang 16
2023-06-10darwin.system_cmds: fix build with clang 16Randy Eckenrode2-1/+54
Clang 16 makes implicit declarations an error by default. The headers are available, so include them. `getline` was renamed to `get_line` to avoid a name clash. `util.h` includes `stdio.h`, which defines `getline`.
2023-06-05Merge pull request #234857 from reckenrode/configd-fixtoonn2-50/+17
configd: fix build with newer LLVM and bootstrap
2023-05-30Merge pull request #235052 from reckenrode/xnu-fix-mk2Bernardo Meurer1-1/+1
2023-05-30xnu: fix build with newer clangRandy Eckenrode1-1/+1
Newer clangs require also including `-lc++abi` to build kextsymboltool.
2023-05-29darwin.adv_cmds: fix implicit int, which is an error in clang 16Randy Eckenrode2-0/+9
2023-05-29configd: fix build with newer LLVM and bootstrapRandy Eckenrode2-50/+17
Clang 15 does not like the fake xpc headers. Use the real ones instead. Doing this no longer causes an infinite recursion because xnu now depends on python3Minimal, which does not include configd support.
2023-04-25darwin.darling: dropWeijia Wang1-2/+26
2023-04-25darwin.dtrace: get rid of darlingWeijia Wang1-2/+4
2023-04-11Merge pull request #225672 from reckenrode/adv_cmds-aarch64-darwinWeijia Wang1-2/+2
adv_cmds: fix build on aarch64-darwin
2023-04-10adv_cmds: fix build on aarch64-darwinRandy Eckenrode1-2/+2
2023-04-02network_cmds: unconditionally exclude UnboundRandy Eckenrode1-6/+4
This fixes build failures caused by LibreSSL 3.4 being marked insecure and allows it to be dropped from nixpkgs. Unbound is already not built on aarch64-darwin, and it is not bundled with newer source releases. Packages that require Unbound should depend on `unbound` from nixpkgs instead of getting it indirectly from `darwin.network_cmds`.