Commit Graph

1166 Commits

Author SHA1 Message Date
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
zowoq
9eeb6bbfec darwin.openwith: mark broken on x86_64 2023-05-29 13:41:25 +10:00
Weijia Wang
588f16c917 darwin.apple_sdk_11_0: deprecate clang*Stdenv 2023-05-29 01:50:46 +03:00
figsoda
16b0cc0067 asitop: use top-level fetchPypi 2023-05-25 12:06:14 -04:00
JesusMtnez
8632d5d80e
raycast: 1.51.1 -> 1.52.0 2023-05-25 08:04:08 +02:00
Weijia Wang
3d29de1f5b darwin.apple_sdk_11_0: add mkCc 2023-05-24 16:49:40 +03:00
Randy Eckenrode
2c070763c7
rustPlatform.bindgenHook: use the correct Libsystem on the 11.0 SDK 2023-05-24 08:08:30 -04:00
Weijia Wang
ff4881996e darwin.apple_sdk_10_12.frameworks.System: init 2023-05-23 21:01:23 +03:00
Weijia Wang
49a5cd8be6 darwin.sigtool: add meta 2023-05-22 12:54:56 +03:00
Weijia Wang
6a603868e4
Merge pull request #233224 from juliusrickert/add-asitop
asitop: init at 0.0.23
2023-05-21 19:07:54 +03:00
Julius Rickert
53c7e7e028
asitop: init at 0.0.23 2023-05-21 15:32:14 +02:00
Sandro
026fcce43c
Merge pull request #229949 from v3s1e/yabai504
yabai: 5.0.2 -> 5.0.4
2023-05-18 22:05:53 +02:00
Bernardo Meurer
a028bd00e8
Merge pull request #231348 from StepBroBD/raycast 2023-05-11 16:02:14 -05:00
StepBroBD
2e26d5bedf
raycast: 1.50.0 -> 1.51.1 2023-05-11 14:18:46 -06:00
Weijia Wang
bd7c4e7b36 clang16Stdenv: init 2023-05-11 14:17:40 +03:00
Weijia Wang
6177f779a4 utm: 4.1.6 -> 4.2.5 2023-05-05 19:47:58 +03:00
Veselin Ivanov
91071ad0ff
yabai: 5.0.2 -> 5.0.4 2023-05-04 21:23:50 +02:00
StepBroBD
0fc5fdce84
raycast: 1.49.3 -> 1.50.0 2023-04-28 12:04:19 -06:00
Weijia Wang
12b91012e5 darwin.darling: drop 2023-04-25 22:45:59 +03:00
Weijia Wang
a02917d9da darwin.dtrace: get rid of darling 2023-04-25 22:30:55 +03:00
natsukium
aac51377f0
sketchybar: 2.14.4 -> 2.15.1
https://github.com/FelixKratz/SketchyBar/releases/tag/v2.15.1
2023-04-24 22:41:53 +09:00
Weijia Wang
7f055c0c2d
Merge pull request #227062 from wegank/utm-bump
utm: 4.1.5 -> 4.1.6
2023-04-20 11:26:30 +03:00
Weijia Wang
d5553d8198 rectangle: 0.67 -> 0.68 2023-04-19 16:51:00 +03:00
Weijia Wang
b344f6cee0 rectangle: refactor 2023-04-19 16:50:16 +03:00
Weijia Wang
6fa82f8ec0 utm: 4.1.5 -> 4.1.6 2023-04-19 16:48:38 +03:00
Weijia Wang
5608f9dbad
Merge pull request #220144 from Intuinewin/rectangle-0.66
rectangle: 0.59 -> 0.67
2023-04-19 16:28:03 +03:00
natsukium
4a831cda4a
sketchybar: 2.14.1 -> 2.14.4
https://github.com/FelixKratz/SketchyBar/releases/tag/v2.14.2
https://github.com/FelixKratz/SketchyBar/releases/tag/v2.14.3
https://github.com/FelixKratz/SketchyBar/releases/tag/v2.14.4
2023-04-17 12:40:22 +09:00
natsukium
df496ea67e
sketchybar: fix build 2023-04-17 12:27:58 +09:00
Manuel Mendez
31d6802773 gnatboot: rename to gnat-bootstrap
Most other bootstrap compilers are named -bootstrap so lets follow that
pattern.
2023-04-15 18:52:14 -04:00
toonn
54475ebea5
Merge pull request #225409 from 0xnetfox/fix/apple-framework-System-dangling-symlink
apple-framework-System: fix System.tbd dangling symbolic link
2023-04-13 23:55:12 +02:00
StepBroBD
4671d8cbe3
raycast: 1.49.2 -> 1.49.3 2023-04-13 11:53:45 -06:00
Bernardo Meurer
151a7deac0
Merge pull request #224869 from StepBroBD/raycast 2023-04-12 07:31:06 -07:00
netfox
815d6c0d3e
apple-framework-System: fix System.tbd dangling symbolic link
Contrarily to the other frameworks, System framework's TBD file
is a symlink pointing to `${MacOSX-SDK}/usr/lib/libSystem.B.tbd`.

This produces an error when using the framework, as:

  1. The original file is not copied into the output directory
  2. Even if it was copied, the relative path wouldn't match

Resulting in the symlink being broken and the linker failing when
trying to link `-framework System`.

The fix applied consists in replacing the symbolic link with the
actual file, as this is easier than fixing the link and doesn't
seem to produce any side effects.
2023-04-12 14:37:48 +02:00
github-actions[bot]
3c070a08ff
Merge master into staging-next 2023-04-11 12:01:14 +00:00
Weijia Wang
93cfea6d37
Merge pull request #225672 from reckenrode/adv_cmds-aarch64-darwin
adv_cmds: fix build on aarch64-darwin
2023-04-11 09:25:38 +03:00
Randy Eckenrode
85f94a09a8
adv_cmds: fix build on aarch64-darwin 2023-04-10 23:20:13 -04:00
github-actions[bot]
75e19b98bb
Merge master into staging-next 2023-04-08 00:02:03 +00:00
Artturi
1a7e2b80cf
Merge pull request #224435 from hraban/utm-mainprogram 2023-04-08 00:33:49 +03:00
StepBroBD
4edf9b117c
raycast: 1.49.0 -> 1.49.2 2023-04-05 14:31:57 -06:00
Ilan Joselevich
244eeefe05
Merge pull request #224485 from PedroHLC/vulkan-sdk-1.3.243-master
vulkan-sdk: 1.3.239 -> 1.3.243
2023-04-04 22:19:43 +03:00
Hraban Luyat
2c65676e87 UTM: use makeWrapper to link UTM into bin/
Suggested by github user rrbutani in
https://github.com/NixOS/nixpkgs/pull/224435#pullrequestreview-1368309746
2023-04-03 12:48:37 -04:00
PedroHLC ☭
a9196218c9
moltenvk: 1.2.2 -> 1.2.3
Release for Vulkan SDK 1.3.243
2023-04-03 11:51:39 -03:00
Hraban Luyat
d7b8a4e446 UTM: fix meta.mainProgram field
Fixes `nix run nixpkgs#utm`
2023-04-03 00:16:24 -04:00
Randy Eckenrode
3753dfe6a9
network_cmds: unconditionally exclude Unbound
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`.
2023-04-02 20:59:49 -04:00
github-actions[bot]
19c08aa1c7
Merge staging-next into staging 2023-04-01 00:03:07 +00:00
Ilan Joselevich
4a7fce0a52
Merge pull request #223558 from vamega/karabiner-elements-update-script
karabiner-elements: Add updateScript
2023-04-01 02:06:55 +03:00
github-actions[bot]
e2137dea96
Merge staging-next into staging 2023-03-30 12:01:58 +00:00
Bernardo Meurer
515452c223
Merge pull request #223495 from StepBroBD/raycast 2023-03-30 04:08:38 -07:00
github-actions[bot]
80baf3a2de
Merge staging-next into staging 2023-03-30 00:03:04 +00:00
StepBroBD
6db14a3392
raycast: 1.48.9 -> 1.49.0 2023-03-29 15:47:13 -06:00
StepBroBD
281d7c21c8
raycast: init at 1.48.9
* raycast: init at 1.48.9, change github release url to internet archive url

* raycast: adding documentation explaining the reason we are using Internet Archive URL

* raycast: add lovesegfault to maintainers

Co-authored-by: Bernardo Meurer <bernardo@meurer.org>
2023-03-29 15:46:48 -06:00
Varun Madiath
935a1edcc3 karabiner-elements: 14.8.0 -> 14.11.0 2023-03-28 07:14:47 -04:00