Commit Graph

1730 Commits

Author SHA1 Message Date
Randy Eckenrode
d5f4ae43b4
darwin.copyfile: 138 -> 213
https://github.com/apple-oss-distributions/copyfile/compare/copyfile-138...copyfile-213
2024-10-10 16:23:13 -04:00
Randy Eckenrode
4d328d0342
darwin.bootstrap_cmds: 121 -> 136
https://github.com/apple-oss-distributions/bootstrap_cmds/compare/bootstrap_cmds-121...bootstrap_cmds-136
2024-10-10 16:23:13 -04:00
Randy Eckenrode
ab006b01b9
darwin.basic_cmds: 55 -> 70
https://github.com/apple-oss-distributions/basic_cmds/compare/basic_cmds-55...basic_cmds-70
2024-10-10 16:23:13 -04:00
Randy Eckenrode
4854f28528
darwin.AvailabilityVersions: 140.1 -> 143.3
https://github.com/apple-oss-distributions/AvailabilityVersions/compare/AvailabilityVersions-140.1...AvailabilityVersions-143.3
2024-10-10 16:23:13 -04:00
Randy Eckenrode
bdf3046d30
darwin.adv_cmds: 163 -> 231
https://github.com/apple-oss-distributions/adv_cmds/compare/adv_cmds-163...adv_cmds-231
2024-10-10 16:23:13 -04:00
Randy Eckenrode
6c6b7b0cc0
darwin.apple-source-releases: switch to new source release pattern 2024-10-10 16:23:12 -04:00
Randy Eckenrode
6b6277ee90
darwin.xnu: remove and replace with stubs 2024-10-10 16:23:12 -04:00
Randy Eckenrode
03e585adea
darwin.ppp: remove and replace with stubs 2024-10-10 16:23:12 -04:00
Randy Eckenrode
7be27dc225
darwin.objc4: remove and replace with stubs 2024-10-10 16:23:12 -04:00
Randy Eckenrode
4c77578a9f
darwin.mDNSResponder: remove and replace with stubs 2024-10-10 16:23:12 -04:00
Randy Eckenrode
259c350cf6
darwin.libunwind: remove source release 2024-10-10 16:23:12 -04:00
Randy Eckenrode
ec40b04537
darwin.libunwind: improve compatibility with libunwind
Darwin uses the system unwinder, which is based on the LLVM unwinder.
While it’s mostly API-compatible with libunwind, some packages expect to
find it using `pkg-config`. This package provides a compatible file to
allow those packages to use the system unwinder on Darwin.
2024-10-10 16:23:12 -04:00
Randy Eckenrode
7b23be1afd
darwin.libpthread: remove and replace with stubs 2024-10-10 16:23:12 -04:00
Randy Eckenrode
29f65b3b80
darwin.libplatform: remove and replace with stubs 2024-10-10 16:23:11 -04:00
Randy Eckenrode
1afb8b56c4
darwin.libmalloc: remove and replace with stubs 2024-10-10 16:23:11 -04:00
Randy Eckenrode
b9005e19b0
darwin.libdispatch: remove and replace with stubs 2024-10-10 16:23:11 -04:00
Randy Eckenrode
eb7c5f87a3
darwin.libclosure: remove and replace with stubs 2024-10-10 16:23:11 -04:00
Randy Eckenrode
1c2dde0b36
darwin.launchd: remove and replace with stubs 2024-10-10 16:23:11 -04:00
Randy Eckenrode
2ade0ae6b9
darwin.hfs: remove and replace with stubs (including hfsHeaders) 2024-10-10 16:23:11 -04:00
Randy Eckenrode
cce88cf198
darwin.eap8021x: remove and replace with stubs 2024-10-10 16:23:11 -04:00
Randy Eckenrode
8a593830ec
darwin.dyld: remove and replace with stubs 2024-10-10 16:23:11 -04:00
Randy Eckenrode
ae78385296
darwin.dtrace: remove and replace with stubs 2024-10-10 16:23:11 -04:00
Randy Eckenrode
d78b641fee
darwin.darwin-stubs: remove and replace with stubs
These are a different kind of stubs that do nothing except tell you to
check the documentation on how to use the new Darwin SDK instead.
2024-10-10 16:23:10 -04:00
Randy Eckenrode
ac79109639
darwin.configd: remove and replace with stubs (including configdHeaders) 2024-10-10 16:23:10 -04:00
Randy Eckenrode
fd2ae224d5
darwin.architecture: remove and replace with stubs 2024-10-10 16:23:10 -04:00
Randy Eckenrode
07272a045f
darwin.Security: remove and replace with stubs 2024-10-10 16:23:10 -04:00
Randy Eckenrode
db40aca353
darwin.Libsystem: remove and replace with stubs 2024-10-10 16:23:10 -04:00
Randy Eckenrode
fe9623e292
darwin.Librpcsvc: remove and replace with stubs 2024-10-10 16:23:10 -04:00
Randy Eckenrode
b47afcc7bd
darwin.Libnotify: remove and replace with stubs 2024-10-10 16:23:10 -04:00
Randy Eckenrode
67271abd3c
darwin.Libm: remove and replace with stubs 2024-10-10 16:23:10 -04:00
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
DontEatOreo
3b66f6f8fd
raycast: 1.83.2 -> 1.84.2
Changelog: https://www.raycast.com/changelog/1-84-0
2024-10-10 13:23:12 +03: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
Randy Eckenrode
f9e5f1290d
moltenvk: move to pkgs/by-name 2024-10-10 01:06:41 -04:00
Randy Eckenrode
329fa34d62
moltenvk: 1.2.9 -> 1.2.10
https://github.com/KhronosGroup/MoltenVK/releases/tag/v1.2.10
2024-10-10 01:06:41 -04:00
Randy Eckenrode
0cabb33e1d
moltenvk: build with the 14.4 SDK
MoltenVK can take advantage of newer Metal features when built with the
latest Darwin SDK.
2024-10-10 01:06:41 -04:00
Randy Eckenrode
b0e2c787ba
moltenvk: use xcbuildHook
When using structured attrs, xcbuildHook supports schemes with spaces in
their names.
2024-10-10 01:06:40 -04:00
github-actions[bot]
e9c8665026
Merge master into staging-next 2024-10-05 00:14:01 +00:00
h7x4
64a98027b4
treewide: remove unreferenced patch files (#346477) 2024-10-05 00:09:27 +02:00
Peder Bergebakken Sundt
cd673393d2 treewide: remove unreferenced patch files
Found with `fd \\.patch$ pkgs/ -x bash -c 'rg -F "{/}" pkgs/ -q || echo {}'``

We're running more and more into patches fetched via `applyPatches`, for the next PR i'll script something to account for that.
2024-10-04 19:38:56 +02:00
Randy Eckenrode
9776002fd7
moltenvk: fix build on staging-next
https://github.com/NixOS/nixpkgs/pull/342459 changed glslang to build
shared libraries, which breaks the MoltenVK build. Drop the static
libraries and link only glslang.
2024-10-03 22:12:02 -04:00
DontEatOreo
61d40e678c
raycast: 1.83.1 -> 1.83.2
Changelog: https://www.raycast.com/changelog/1-83-0
2024-10-02 18:13:41 +03:00
Dimitar Nestorov
d6cae7344b
bartender: add DimitarNestorov to maintainers 2024-09-29 16:13:22 +03:00
Dimitar Nestorov
7b4bba9dd4
bartender: 5.1.5 -> 5.1.8 2024-09-28 10:47:34 +03:00
Weijia Wang
b28ca15d5d
bartender: 5.1.2 -> 5.1.5 (#342965) 2024-09-27 02:22:34 +02:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
DontEatOreo
b98d61bfe8
raycast: 1.82.5 -> 1.83.1
Changelog: https://www.raycast.com/changelog/1-83-0
2024-09-20 14:39:28 +03:00
Martin Joerg
28f2f2a4f9 darwin.xcode: add 15.0.1 and 16 2024-09-20 09:01:45 +00:00
Dimitar Nestorov
ac7e26a5db
bartender: 5.1.2 -> 5.1.5 2024-09-19 08:36:02 +03:00
Fabián Heredia Montiel
ad1e85cdd5
raycast: 1.82.0 -> 1.82.5 (#341395) 2024-09-13 12:36:10 -06:00
DontEatOreo
7a5f33c57f
raycast: 1.82.0 -> 1.82.5 2024-09-12 17:45:54 +03:00
Dimitar Nestorov
cd76dbde70
bartender: 5.1.1 -> 5.1.2 2024-09-09 08:25:13 +03:00
Aleksana
d66e752306
shortcat: 0.11.0 -> 0.11.4 (#336075) 2024-09-08 09:50:57 +08:00
Aleksana
2cb8581d10
darwin.xcode: add 15.2, 15.3 and 15.4 (#313003) 2024-09-07 16:24:18 +08:00
DontEatOreo
b6b4f4044c
raycast: 1.81.2 -> 1.82.0
Changelog: https://www.raycast.com/changelog/1-82-0
2024-09-04 18:41:11 +03:00
Weijia Wang
5cbbd23d5d
utm: 4.5.3 -> 4.5.4 (#338560) 2024-09-01 13:49:51 +02:00
Weijia Wang
c9f786d4f0 utm: 4.5.3 -> 4.5.4 2024-08-31 08:48:47 +02:00
Dimitar Nestorov
62341f79fb
bartender: 5.1.0 -> 5.1.1 2024-08-30 22:03:58 +03:00
Weijia Wang
f441965069
Merge pull request #336079 from Kamillaova/update/raycast
raycast: 1.81.0 -> 1.81.2
2024-08-21 21:02:12 +02:00
Sebastián Mancilla
d7a16e05a1
Merge pull request #335444 from DimitarNestorov/update-bartender
bartender: 5.0.52 -> 5.1.0
2024-08-20 20:32:19 -04:00