Commit Graph

1117 Commits

Author SHA1 Message Date
StepBroBD
6482536377
bartender: init at 4.2.21
Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com>
Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
2023-06-30 10:12:47 -06:00
iliana etaoin
8e669c6d1a utm: correct license metadata
https://github.com/utmapp/UTM/blob/v4.2.5/LICENSE
2023-06-28 03:30:32 +00:00
iliana etaoin
9fe79a86b4 libtapi: correct license metadata
664b8414f8/LICENSE.APPLE-LIBTAPI.txt
https://github.com/apple-oss-distributions/tapi/blob/main/LICENSE.TXT
2023-06-28 03:26:38 +00:00
Alyssa Ross
0f2191f3b2
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
	pkgs/development/compilers/gcc/11/default.nix
2023-06-22 06:23:16 +00:00
Weijia Wang
1447a5804b qt6.qtwebengine: unbreak on x86_64-darwin 2023-06-22 07:23:21 +03:00
toonn
62f759132d
Merge pull request #237348 from reckenrode/darwin-libc-cleanup
darwin.Libsystem: fix existing file error during build
2023-06-20 17:20:45 +02:00
github-actions[bot]
535ef0a591
Merge staging-next into staging 2023-06-19 18:02:35 +00:00
JesusMtnez
b1d3870fb3
raycast: 1.53.3 -> 1.53.4 2023-06-19 05:28:51 +02:00
github-actions[bot]
f76683b6c6
Merge staging-next into staging 2023-06-16 12:01:42 +00:00
github-actions[bot]
ebaef3ce4c
Merge master into staging-next 2023-06-16 12:01:08 +00:00
StepBroBD
7b85087a31
raycast: 1.53.2 -> 1.53.3
after communicating with the Raycast team (thanks Sorin), they added API for
1. Getting the latest version of Raycast via REST endpoint https://releases.raycast.com/releases/latest
2. Versioned download in the format of https://releases.raycast.com/releases/<version>/download

This update deprecates download via internet archive and switches to official download API
2023-06-15 12:01:37 -06:00
github-actions[bot]
a2ab9e9c7d
Merge staging-next into staging 2023-06-13 00:03:08 +00:00
github-actions[bot]
9dc5849025
Merge master into staging-next 2023-06-13 00:02:27 +00:00
Randy Eckenrode
5841d0353a
cctools-llvm: fix build with clang 16
This was not caught when cctools-llvm was added. The parens are
necessary to make sure this evaluates correctly when LLVM is new enough
to provide a compatible `otool`.
2023-06-12 17:38:02 -04:00
Randy Eckenrode
23cb6c155b
darwin.Libc: stop vendoring headers from other packages
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-12 17:11:54 -04:00
github-actions[bot]
b8a01a0225
Merge staging-next into staging 2023-06-12 18:01:50 +00:00
github-actions[bot]
a69b4c6b89
Merge master into staging-next 2023-06-12 18:01:15 +00:00
Randy Eckenrode
a255182f56
darwin.Libsystem: get pthread headers from darwin.libpthread
Some of the headers are symlinked to the root `include` in upstream
Libsystem, so also symlink them there from `include/pthread`.
2023-06-12 09:15:29 -04:00
Randy Eckenrode
d2b670291f
darwin.Libsystem: get asl.h from upstream syslog sources 2023-06-12 09:15:29 -04:00
Randy Eckenrode
489ed84733
darwin.Libsystem: get malloc.h from darwin.libmalloc 2023-06-12 09:06:21 -04:00
Randy Eckenrode
81324e2ec3
darwin.libmalloc: add at 317.40.8 for the 11.0 SDK 2023-06-12 09:06:21 -04:00
Randy Eckenrode
a48c2d3e92
darwin.libmalloc: add at 116.50.8 2023-06-12 09:06:21 -04:00
Randy Eckenrode
2c149715fe
darwin.xnu: provide additional headers needed by Libsystem 2023-06-12 08:59:49 -04:00
toonn
e23fe5c0b6
Merge pull request #234863 from reckenrode/11_0-sdk-cf-fix
apple_sdk_11_0.stdenv: replace extraBuildInputs with CF from 11.0 SDK
2023-06-12 11:55:22 +02:00
JesusMtnez
1115715e82
raycast: 1.53.0 -> 1.53.2 2023-06-12 05:54:18 +02:00
toonn
b7ed52e26f
Merge pull request #235487 from reckenrode/system_cmds-clang-fix
darwin.system_cmds: fix build with clang 16
2023-06-11 20:14:59 +02:00
Randy Eckenrode
28fe4eec0f
apple_sdk_11_0.stdenv: replace extraBuildInputs with CF from 11.0 SDK
This can result in swift-corefoundation being included even when a
derivation uses `apple_sdk_11_0.stdenv` directly, which may result in
hard to debug compiler errors (unless you just happen to know cryptic
compiler errors means the 10.12 and 11.0 SDKs have been mixed).
2023-06-11 12:27:32 -04:00
toonn
b7d4899ad5
Merge pull request #234861 from reckenrode/corefoundation-rpath
swift-corelibs: set NIX_COREFOUNDATION_RPATH in a hook
2023-06-11 17:13:54 +02:00
Randy Eckenrode
cd4ab1d9fd
darwin.system_cmds: fix build with clang 16
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-10 17:15:08 -04:00
github-actions[bot]
52cf9e3e3b
Merge staging-next into staging 2023-06-08 18:02:03 +00:00
toonn
782dbaf30f
Merge pull request #234859 from reckenrode/cctools-llvm
cctools-llvm: init at 11.1.0-973.0.1
2023-06-08 19:23:56 +02:00
github-actions[bot]
f8aa1a896e
Merge staging-next into staging 2023-06-08 06:01:46 +00:00
StepBroBD
a3ce564a94
raycast: 1.52.1 -> 1.53.0 2023-06-07 18:48:19 -06:00
Randy Eckenrode
df7487ff17
cctools-llvm: init at 11.1.0-973.0.1
cctools-llvm is a replacement for cctools that replaces as much of cctools with equivalents from LLVM that it can reasonably do. This was motivated by wanting to reduce dependencies on cctools, which are updated infrequently by upstream.

To provide a motivating example, the version of `strip` included in cctools cannot properly strip the archives in compiler-rt in LLVM 15. Paths are left to bootstrap tools, resulting in failed requisites checks in the final stdenv build. Since `strip` needs replaced, the opportunity was taken to replace other provided they are functional replacements.

Note: This has to be done in cctools (or some equivalent) because some derivations (noteably LLVM) use the bintools of the stdenv directly instead of going through the wrapper.

The following tools from LLVM are not used in this derivation:

* LLD - not fully compatible with ld64 yet and potentially too big of a change;
* libtool - not a drop-in replacement yet because it does not support linker passthrough, which is needed by xcbuild;
* lipo - crashes when running the LLVM test suite;
* install_name_tool - fails when trying to build swift-corefoundation; and.
* randlib - not completely a drop-in replacement, so leaving it out for now.

If other incompatabilities are found, the tools can be reverted or made conditional. For example, cctools `strip` is preferred on older versions of LLVM (which lack the compiler-rt issue) or when cctools itself is a new enough version because `llvm-strip` on LLVM 11 produces files that older verions of `codesign_allocate` cannot process correctly.

One final caveat/note: Some tools are not duplicated or linked from cctools-port. The names of the tools and which ones were linked was determined based on what is provided upstream in Xcode and is installed on macOS system.
2023-06-06 19:05:22 -04:00
toonn
501dcc2d3e
Merge pull request #234857 from reckenrode/configd-fix
configd: fix build with newer LLVM and bootstrap
2023-06-05 19:26:06 +02:00
github-actions[bot]
de4f02a6c8
Merge master into staging-next 2023-06-05 12:01:12 +00:00
Weijia Wang
ad7fbd276f
Merge pull request #233657 from wegank/darwin-system-redo
darwin.apple_sdk_10_12.frameworks.System: init
2023-06-05 11:43:39 +03:00
github-actions[bot]
8f9be47422
Merge master into staging-next 2023-06-05 06:01:33 +00:00
Randy Eckenrode
241f525928
cctools-apple: fix download source
This probably hasn’t built for a while. Apple is redirecting to GitHub,
which results in different hashes for cctools and ld64. While I’m fixing
the hashes, I also updated the sources to use `fetchFromGitHub`.
2023-06-04 17:45:14 -04:00
Randy Eckenrode
09799e8b80
apple_sdk: fix infinite recursion
The 10.12 SDK uses `xar`, which depends on Python indirectly, which
depends on configd by default. This causes an infinite recuresion when
building configd because it needs SDK headers to build with clang 16.

Fix the infinite recursion by disabling Python support in libxml2 when
building the SDK, and use a minimal Python in the SDK build itself.
2023-06-04 09:31:39 -04:00
Weijia Wang
7849b5f9bb
Merge pull request #234855 from reckenrode/rewrite-tbd-fix
rewrite-tbd: avoid infinite recursion when cmake is not cmakeMinimal
2023-05-31 13:12:27 +02:00
Randy Eckenrode
259b15f25d
rewrite-tbd: avoid infinite recursion when cmake is not cmakeMinimal
This was found while working on the Darwin stdenv rework. This change
allows rewrite-tbd to use the provided Makefile instead of depending on
cmake and pkg-config.

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
2023-05-31 00:31:18 -04:00
Bernardo Meurer
1c31f7e109
Merge pull request #235052 from reckenrode/xnu-fix-mk2 2023-05-30 20:05:32 -04:00
Randy Eckenrode
1aa68d1d21
xnu: fix build with newer clang
Newer clangs require also including `-lc++abi` to build kextsymboltool.
2023-05-30 16:13:11 -04:00
Randy Eckenrode
56480a72c9
darwin.adv_cmds: fix implicit int, which is an error in clang 16 2023-05-29 16:27:13 -04:00
Randy Eckenrode
0d3355a439
swift-corelibs: set NIX_COREFOUNDATION_RPATH in a hook
Closes #230870. Thanks to @eliasnaur for the test case and for rasining
awareness and to @veprbl for the work done on #111385.

This takes a slightly different approach from those two PRs. The hook is
set unconditionally. The stdenv bootstrap doesn’t really need CF at all,
so setting the hook is harmless. This simplifies things.
2023-05-29 15:43:58 -04:00
Randy Eckenrode
15da7dce6a
configd: fix build with newer LLVM and bootstrap
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-05-29 15:30:39 -04:00
Bernardo Meurer
574100ab78
Merge pull request #234758 from JesusMtnezForks/raycast 2023-05-29 12:19:27 -04:00
JesusMtnez
8dcbea47ed
raycast: 1.52.0 -> 1.52.1 2023-05-29 11:10:41 +02:00
Weijia Wang
a268f6ff1c
Merge pull request #234691 from wegank/darwin-clangstdenv
darwin.apple_sdk_11_0: deprecate clang*Stdenv
2023-05-29 10:23:43 +03:00