Commit Graph

1415 Commits

Author SHA1 Message Date
github-actions[bot]
47ae3f6c28
Merge master into staging-next 2023-08-27 00:02:24 +00:00
Austin Horstman
38b9aaf668 sketchybar: add meta.mainProgram 2023-08-26 23:53:51 +00:00
Austin Horstman
75683e2839 sketchybar: 2.15.2 -> 2.16.1 2023-08-26 23:53:51 +00:00
github-actions[bot]
3503eea847
Merge master into staging-next 2023-08-26 18:00:55 +00:00
Austin Horstman
8f1e764551
treewide: add meta.mainProgram (#251487)
* skhd: add meta.mainProgram

* yabai: add meta.mainProgram

* kitty: add meta.mainProgram

* alacritty: add meta.mainProgram

* thunar: add meta.mainProgram

* looking-glass-client: add meta.mainProgram

* thunderbird: add meta.mainProgram

* ckb-next: add meta.mainProgram

* virt-manager: add meta.mainProgram

* gh: add meta.mainProgram
2023-08-26 15:03:52 +03:00
Theodore Ni
ece0953571
Merge branch 'staging-next' into staging 2023-08-18 16:02:27 -07:00
github-actions[bot]
1949ef2080
Merge master into staging-next 2023-08-18 18:00:57 +00:00
StepBroBD
3cf97b6ed5
raycast: 1.55.2 -> 1.57.1 2023-08-18 09:21:01 -04:00
Jan Tojnar
86797b2008 Merge branch 'staging-next' into staging
Conflicts:
- pkgs/development/libraries/qt-6/default.nix
  Merge a5b92645f1 and 0597d865ef
2023-08-16 19:37:11 +02:00
github-actions[bot]
a5a93e1107
Merge master into staging-next 2023-08-16 06:01:05 +00:00
Pol Dellaiera
8737f92137
Merge pull request #249290 from Enzime/add/apparency
apparency: init at 1.5.1
2023-08-16 02:52:12 +02:00
Michael Hoang
afd4607cf4 apparency: init at 1.5.1 2023-08-16 09:27:14 +10:00
github-actions[bot]
87c2ad303d
Merge staging-next into staging 2023-08-13 06:01:19 +00:00
github-actions[bot]
f5eb026a2a
Merge master into staging-next 2023-08-13 06:00:52 +00:00
Nick Cao
b86547b3e6
Merge pull request #247887 from Intuinewin/rectangle/0.70
rectangle: 0.68 -> 0.70
2023-08-12 23:51:44 -06:00
Weijia Wang
3a1c19dba8
Merge pull request #248722 from reckenrode/corefoundation-tbd-fix
CoreFoundation: specify the tbd explicitly
2023-08-12 21:07:37 +02:00
Randy Eckenrode
8e56a2635f
CoreFoundation: specify the tbd explicitly
The current hook specifies the path to the framework library, but
nixpkgs does not actually provide the library when linking against the
system framework. It provides a text-based stub (`.tbd`) instead. ld64
will find the stub and use it, but lld will not when the full path is
specified. Both linkers work if the extension is included, so do that
for compatibility with both. This fixes using lld with CoreFoundation
(e.g., to support LTO on Darwin).
2023-08-12 09:17:13 -04:00
github-actions[bot]
9cc6a98540
Merge master into staging-next 2023-08-11 18:00:55 +00:00
Silvan Mosberger
dcb50597cb
Merge pull request #243280 from YorikSar/dark-mode-notify-init
dark-mode-notify: init at 2022-07-18
2023-08-11 16:06:55 +02:00
Antoine Labarussias
abb86ecde0
rectangle: 0.68 -> 0.70 2023-08-08 09:53:10 +02:00
Yuriy Taraday
c97c45612c dark-mode-notify: init at 2022-07-18
`dark-mode-notify` is a small too that calls a binary whenever dark
mode status changes in macOS.
2023-08-08 00:34:38 +02:00
github-actions[bot]
687b501234
Merge staging-next into staging 2023-08-05 18:01:37 +00:00
github-actions[bot]
e329dc70ee
Merge master into staging-next 2023-08-05 18:01:09 +00:00
Mario Rodas
ee81e733b2
Merge pull request #246901 from stepbrobd/aldente
aldente: 1.22 -> 1.22.2
2023-08-05 10:03:05 -05:00
github-actions[bot]
f8579c6c72
Merge staging-next into staging 2023-08-05 12:02:05 +00:00
github-actions[bot]
6458cb74a2
Merge master into staging-next 2023-08-05 12:01:30 +00:00
Vladimír Čunát
d5732d9669
Merge branch 'staging-next' into staging 2023-08-05 07:45:29 +02:00
Aaron Jheng
875d14e695
plistwatch: unstable-2020-12-22 -> unstable-2023-06-22 2023-08-05 09:34:50 +08:00
github-actions[bot]
0542af4e29
Merge master into staging-next 2023-08-04 00:02:04 +00:00
Jan Malakhovski
a0a909fa9e treewide: noop: replace every newly introduced stdenv.mkDerivation rec with a fixpoint over finalAttrs 2023-08-03 16:34:45 +00:00
Jan Malakhovski
5852f26bdc treewide: noop: refer to src.name or similar in sourceRoot where appropriate, part 1: trivial cases 2023-08-03 16:32:03 +00:00
StepBroBD
873a86a94d
aldente: 1.22 -> 1.22.2 2023-08-02 21:58:15 -06:00
Simon Žlender
8e912feb29 codesign_allocate: reference cctools 2023-08-01 21:27:09 +02:00
Artturi
f42617f5b2
Merge pull request #243540 from reckenrode/adv_cmds-clang2 2023-08-01 07:29:25 +03:00
github-actions[bot]
8faf32ac60
Merge master into staging-next 2023-08-01 00:02:30 +00:00
Pol Dellaiera
de72df3675
Merge pull request #246285 from khaneliman/skhd
skhd: 0.3.5 -> 0.3.9
2023-07-31 23:30:47 +02:00
Pol Dellaiera
684f3c72b4
skhd: use finalAttrs pattern 2023-07-31 16:14:51 -05:00
Austin Horstman
a8b5053805
skhd: 0.3.5 -> 0.3.9 2023-07-31 16:14:51 -05:00
github-actions[bot]
050b858d31
Merge master into staging-next 2023-07-31 12:01:34 +00:00
Pol Dellaiera
4790d3f989
Merge pull request #245658 from khaneliman/sketchybar
sketchybar: 2.15.1 -> 2.15.2
2023-07-31 10:26:59 +02:00
Pol Dellaiera
c1d8ad53ec
sketchybar: use finalAttrs pattern 2023-07-31 09:43:40 +02:00
Austin Horstman
95c3946692
skhd: add khaneliman as maintainer 2023-07-30 21:29:37 -05:00
Austin Horstman
0527710541
sketchybar: 2.15.1 -> 2.15.2 2023-07-30 20:03:08 -05:00
Austin Horstman
fb8f43e5bf
sketchybar: add khaneliman as maintainer 2023-07-30 20:03:08 -05:00
Austin Horstman
0610720dad
apple_sdk_11_0: Add MediaRemote private framework 2023-07-30 14:16:06 -05:00
github-actions[bot]
d64d339ecf
Merge master into staging-next 2023-07-29 06:01:06 +00:00
Nick Cao
3448b9f174
Merge pull request #245906 from stepbrobd/airbuddy
airbuddy: 2.7 -> 2.7.1
2023-07-28 18:21:10 -06:00
StepBroBD
b94abe0b54
airbuddy: 2.7 -> 2.7.1 2023-07-28 09:40:12 -07:00
github-actions[bot]
bbfd40bb37
Merge staging-next into staging 2023-07-26 06:01:54 +00:00
Nick Cao
e5123f20c4
Merge pull request #244799 from emilytrau/grandperspective-3.4.1
grandperspective: 3.0.1 -> 3.4.1
2023-07-25 19:09:03 -06:00
Artturin
afaab4f120 darwin.xnu: Fix stripDirs
`stripDirs: Ranlib command is empty`

Exposed by f46c8c1bcd
2023-07-23 14:50:40 +03:00
github-actions[bot]
41e6556ad3
Merge master into staging-next 2023-07-22 18:01:06 +00:00
Emily Trau
774e250ab3 grandperspective: 3.0.1 -> 3.4.1 2023-07-22 19:15:07 +10:00
Emily Trau
f9dcbee583 hexfiend: fix platform meta 2023-07-22 18:54:40 +10:00
github-actions[bot]
61505962dc
Merge master into staging-next 2023-07-21 00:02:16 +00:00
Randy Eckenrode
2014e8cad0
moltenvk: 1.2.3 -> 1.2.4 (#242096)
* moltenvk: add updateScript

* moltenvk: fix invalid signature on MoltenVKShaderConverter

* moltenvk: 1.2.3 -> 1.2.4

https://github.com/KhronosGroup/MoltenVK/releases/tag/v1.2.4
2023-07-20 21:06:41 +02:00
github-actions[bot]
eebfb7a54e
Merge master into staging-next 2023-07-18 06:01:08 +00:00
JesusMtnez
1881de6558
raycast: 1.55.1 -> 1.55.2 2023-07-18 05:56:33 +02:00
Randy Eckenrode
732e4469cb
darwin.adv_cmds: fix build with clang 16
darwin.Libc conflicts with libc++ 16. adv_cmds only needs `msgcat.h`, so
provide only that in `buildInputs` instead of all of Libc.
2023-07-14 17:27:16 -06:00
github-actions[bot]
3614b963c8
Merge staging-next into staging 2023-07-12 00:03:11 +00:00
github-actions[bot]
c7f86a0032
Merge master into staging-next 2023-07-12 00:02:37 +00:00
Sandro
896373a3f2
Merge pull request #242305 from StepBroBD/airbuddy
airbuddy: 2.6.3 -> 2.7
2023-07-11 23:31:56 +02:00
github-actions[bot]
e4fb0591c3
Merge staging-next into staging 2023-07-11 18:01:45 +00:00
StepBroBD
1a6a06a4ce
airbuddy: 2.6.3 -> 2.7
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-07-11 10:01:41 -06:00
Vladimír Čunát
b3d701e089
Merge #242202: cctools-llvm: use cctools assembler on LLVM 11 and x86_64-darwin
...into staging-next
2023-07-11 15:51:56 +02:00
github-actions[bot]
89036c30f6
Merge staging-next into staging 2023-07-11 00:03:30 +00:00
github-actions[bot]
8e15f4621a
Merge master into staging-next 2023-07-11 00:02:57 +00:00
github-actions[bot]
f341daccb3
Merge staging-next into staging 2023-07-10 18:02:08 +00:00
github-actions[bot]
7df9bccc89
Merge master into staging-next 2023-07-10 18:01:32 +00:00
Artturin
685f290786 yabai: fix hash
error: invalid SRI hash '1szyjcwkhn2wbrcfhh9lh5bnfm1cavxrx6xj4q7521z3zj29a9kf'
2023-07-10 20:18:33 +03:00
Ilan Joselevich
7a6eda504d
Merge pull request #242629 from gshpychka/patch-1
yabai: 5.0.4 -> 5.0.6
2023-07-10 19:30:13 +03:00
Glib Shpychka
ca90d55f0f
yabai: 5.0.4 -> 5.0.6 2023-07-10 13:19:32 +03:00
Weijia Wang
847c5437db
Merge pull request #242433 from wegank/rewrite-tbd-update
darwin.rewrite-tbd: 20201114 -> unstable-2023-03-27
2023-07-10 10:42:21 +03:00
StepBroBD
0e4e158866
raycast: 1.54.1 -> 1.55.1 2023-07-09 13:41:57 -06:00
Randy Eckenrode
c810782ee6
cctools-llvm: use cctools assembler on x86_64-darwin and LLVM 11
Clang 11 performs an optimization on x86_64 that is sensitive to the
presence of debug information. This results in GCC’s bootstrap failing
because it builds stage 2 with debug information and stage 3 without,
and the resulting objects do not match.

This patch uses the cctools assembler on LLVM 11 and x86_64-darwin while
using the integrated assembler on newer versions, which matches the
platform tools (Apple has uses the integrated assembler since Xcode 12).
2023-07-09 13:29:11 -06:00
Weijia Wang
5d100b06f6 darwin.rewrite-tbd: 20201114 -> unstable-2023-03-27 2023-07-09 11:14:35 +03:00
Weijia Wang
c5fd953de9
Merge pull request #242316 from wegank/reckenrode-cctools-llvm-fix
cctools-llvm: match binutils targetPrefix definition
2023-07-09 10:55:23 +03:00
Randy Eckenrode
6ebedaddb6 cctools-llvm: match binutils targetPrefix definition 2023-07-09 02:13:05 +03:00
github-actions[bot]
e949ec41bd
Merge master into staging-next 2023-07-08 18:01:04 +00:00
StepBroBD
f810e968e5
aldente: init at 1.22
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-07-07 14:16:44 -06:00
Weijia Wang
2b9656eb4f
Merge pull request #240724 from reckenrode/configd-clang16
configd: fix build with clang 16
2023-07-05 22:44:02 +03:00
Weijia Wang
f0a11a54be
Merge pull request #240433 from reckenrode/darwin-stdenv-rework
darwin.stdenv: Darwin stdenv rework
2023-07-05 13:03:24 +03:00
Weijia Wang
297886f1f6
Merge pull request #240654 from reckenrode/cctools-port-clang16
cctools-port: fix build with clang 16 on x86_64-darwin
2023-07-04 22:15:22 +03:00
Sandro
ce8744e3f5
Merge pull request #230168 from eliandoran/dev/hexfiend 2023-07-03 16:00:30 +02:00
Randy Eckenrode
8bee297d15
swift-corelibs: actually provide and use the hook
@emilazy found a bug in #234861. Specifically, the hook is not actually
applied. e2fsprogs links against darwin.CF, but since it cannot find the
framework by rpath, it crashes.

Since the hook should always be used, it is copied directly to
`nix-support/setup-hook` instead of providing it as an attribute. This
preserves dropping the hook in the cross-compilation case while
providing it for everything else that needs it.

To avoid further churn and due to the complexity of building the stdenv
with the hook active, this change required the stdenv rework.
2023-07-02 17:56:25 -04:00
Randy Eckenrode
ebc1bcf409
swift-corelibs: don’t link against libcurl
swift-corelibs uses libcurl to implement `NSURLSession` in Foundation
via the symbols exported by CF. Foundation is not build on Darwin, and
these symbols are not exported by the system CoreFoundation.

By not linking against libcurl, this breaks a cycle between CF and
libcurl. That should allow libcurl to drop the patch disabling
linking against the SystemConfiguration and restore NAT64 support.

Unfortunately, the Darwin stdenv bootstrap still needs to build
dependencies that use `fetchFromGitHub`. While it can drop curl from the
final stdenv, it still needs to use it during the stdenv bootstrap.
2023-07-02 17:56:25 -04:00
Randy Eckenrode
6dbdf283cf
swift-corelibs: switch to nixpkgs icu
Upstream swift-corelibs links against icu on Linux, so it is not
necessarily tied to the version of ICU provided by Apple for Darwin.

swift-corelibs and qtwebkit are the only two packages that link against
darwin.ICU. Switching to the nixpkgs icu will allow the Darwin-specific
package to be deprecated and removed eventually.
2023-07-02 17:56:25 -04:00
Randy Eckenrode
aeb53a823f
swift-corelibs: switch build system to cmake
Switching the build system to cmake makes it easier to make changes to
the build (particularly which dependencies to link). It also removes a
lot of manual build steps and fixes the issue identified by @emilazy in
NixOS#238791.

Fixes NixOS#238791.
2023-07-02 17:56:25 -04:00
Randy Eckenrode
8c16d17bdc
swift-corelibs: fix build with clang 16
swift-corelibs fails to build due to a missing header and an invalid
pointer conversion. Patches are provided to fix both of these issues.
2023-07-02 17:56:25 -04:00
Elian Doran
6e3e0b14d7 hexfiend: init at 2.16.0 2023-07-03 00:35:01 +03:00
Pol Dellaiera
53718fb655
Merge pull request #240762 from StepBroBD/raycast
raycast: 1.53.4 -> 1.54.1
2023-07-01 22:56:23 +02:00
Randy Eckenrode
cf77dee3ad
cctools-port: fix build with clang 16 on x86_64-darwin
Clang 16 fails to build even with `open_memstream` disabled. Just use
the memstream package to provide an implementation.
2023-06-30 17:13:45 -04:00
Pol Dellaiera
4586970ee7
Merge pull request #240621 from StepBroBD/coconutbattery
coconutbattery: init at 3.9.12
2023-06-30 19:23:28 +02:00
Pol Dellaiera
a6f7d46ce4
Merge pull request #240618 from StepBroBD/bartender
bartender: init at 4.2.21
2023-06-30 19:23:10 +02:00
StepBroBD
febd3fa64f
raycast: 1.53.4 -> 1.54.1 2023-06-30 11:14:08 -06:00
StepBroBD
271969a12e
coconutbattery: init at 3.9.12
Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com>
Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
2023-06-30 10:14:26 -06:00
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
StepBroBD
e0e729b300
airbuddy: init at 2.6.3
Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com>
Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
2023-06-30 10:09:15 -06:00
Randy Eckenrode
550137e330
configd: fix build with clang 16
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-30 08:54:26 -04: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
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
Varun Madiath
dbf278b976 karabiner-elements: Add updateScript 2023-03-28 07:12:56 -04:00
github-actions[bot]
97b2abc678
Merge staging-next into staging 2023-03-26 12:02:02 +00:00
Vladimír Čunát
6f4400f8fd
darwin.Csu: disable parallel installing
https://hydra.nixos.org/log/s3ndn08vzhfr0zfylbwjqz8fijna4pjl-Csu-85.drv
2023-03-26 10:28:26 +02:00
Stéphan Kochen
a0537d633f apple_sdk_11_0: simplify SDK unpacking
The SDK was missing SDKSettings files. This is usually not a problem for
Nix builds, because we generate our own fake SDK structure when
necessary (in xcbuild), but not having these files blocks using the
upstream Apple SDK in tooling such as gen-frameworks.py.
2023-03-17 21:30:51 +01:00
Stéphan Kochen
0c3aaf3e6c apple_sdk_11_0: fix circular framework references 2023-03-17 21:30:51 +01:00
Stéphan Kochen
b9e6d1dbc0 apple_sdk_11_0: generate frameworks.nix 2023-03-17 21:30:51 +01:00
Stéphan Kochen
7f90949f1e apple_sdk_11_0: script to generate frameworks.nix 2023-03-17 21:30:44 +01:00
Martin Weinelt
6b67186fe9
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/crownstone-cloud/default.nix
- pkgs/development/python-modules/exrex/default.nix
- pkgs/development/python-modules/mkdocs-minify/default.nix
- pkgs/development/python-modules/myjwt/default.nix
- pkgs/development/tools/analysis/checkov/default.nix
2023-03-14 08:14:26 +01:00
Sandro
a9afcd2041
Merge pull request #205182 from gdinh/goku-bump-fix 2023-03-14 01:27:19 +01:00
Martin Weinelt
bb14c4255b Merge remote-tracking branch 'origin/master' into staging-next 2023-03-13 17:14:19 +00:00
Antoine Labarussias
0aaea9cda2
rectangle: 0.59 -> 0.67 2023-03-10 09:21:03 +01:00
Mario Rodas
f613d92a67 smimesign: 0.1.0 -> 0.2.0
https://github.com/github/smimesign/releases/tag/v0.2.0
2023-03-07 04:20:00 +00:00
github-actions[bot]
a5961d9534
Merge master into staging-next 2023-03-06 12:01:40 +00:00
Malo Bourgon
7a734f2795 darwin.apple_sdk_11_0: code cleanup 2023-03-04 12:38:03 +11:00
Malo Bourgon
68648fa4c0 darwin.apple_sdk_11_0.clang{12-15}Stdenv: init 2023-03-04 12:34:48 +11:00
github-actions[bot]
387a5e220d
Merge staging-next into staging 2023-02-28 00:03:08 +00:00
Sandro
b83895e608
Merge pull request #217854 from azuwis/sketchybar 2023-02-28 00:20:13 +01:00
Gabriella Gonzalez
79484b1707
bintools: Add response file support to ld-wrapper (#213831)
The motivation behind this is to alleviate the problem
described in https://github.com/NixOS/nixpkgs/issues/41340.
I'm not sure if this completely fixes the problem, but it
eliminates one more area where we can exceed command line
length limits.

This is essentially the same change as in #112449,
except for `ld-wrapper.sh` instead of `cc-wrapper.sh`.

However, that change alone was not enough; on macOS the
`ld` provided by `darwin.cctools` fails if you use process
substitution to generate the response file, so I put up a
PR to fix that:

https://github.com/tpoechtrager/cctools-port/pull/131

… and I included a patch referencing that fix so that the
new `ld-wrapper` still works on macOS.
2023-02-23 17:05:18 -08:00
Zhong Jianxin
ec1a40dc2a sketchybar: 2.13.2 -> 2.14.1 2023-02-23 22:56:59 +08:00
Alyssa Ross
52c286ee5b
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/libraries/pmdk/default.nix
2023-02-23 13:51:34 +00:00
Artturin
6b2a05e190 treewide: manual fixups for
treewide: use toString on list NIX_CFLAGS_COMPILE
treewide: move NIX_CFLAGS_COMPILE to the env attrset
2023-02-22 21:23:04 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Artturin
6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
2023-02-22 21:23:04 +02:00
github-actions[bot]
3cd1b92b06
Merge master into staging-next 2023-02-22 00:02:34 +00:00
Elian Doran
bc5d5b3dd0 grandperspective: init at 3.0.1 2023-02-21 21:08:40 +02:00
github-actions[bot]
29cdca7736
Merge staging-next into staging 2023-02-13 06:02:02 +00:00
Winter
66f6a84904 darwin.apple_sdk.frameworks.IOKit: fix on x86_64-darwin
7abd144913 switched the source releases to
pull from GitHub. This resulted in the IOUSBFamily installation failing,
as the extracted directory's name changed from `IOUSBFamily-630.4.5` to
`IOUSBFamily-IOUSBFamily-630.4.5`. This didn't occur for any other frameworks
because we used wildcards for copying them already.
2023-02-12 19:30:40 -05:00
Sandro
3e7bf1e547
Merge pull request #204493 from reckenrode/xcodes-update 2023-02-13 00:38:33 +01:00
github-actions[bot]
d3648def80
Merge staging-next into staging 2023-02-07 00:02:46 +00:00
zowoq
eceae845cd darwin.openwith: init at unstable-2022-10-28 2023-02-07 06:22:06 +10:00
Artturi
73f0983f41
Merge pull request #210449 from wegank/darwin-hash
treewide: update darwin sdk hashes
2023-02-06 15:03:49 +02:00
Nick Cao
f6b50bf72d
Merge pull request #213668 from reckenrode/moltenvk-1.2.2
moltenvk: 1.2.1 -> 1.2.2
2023-02-03 08:59:38 +08:00
Weijia Wang
ab368e702d darwin.apple_sdk_11_0.rustPlatform: init 2023-02-02 17:45:13 -05:00
Weijia Wang
7abd144913 treewide: update darwin sdk hashes 2023-02-01 12:36:48 +01:00
github-actions[bot]
dd1ff149da
Merge master into staging-next 2023-01-31 00:02:31 +00:00
Randy Eckenrode
6668f9ae8c
moltenvk: 1.2.1 -> 1.2.2
https://github.com/KhronosGroup/MoltenVK/releases/tag/v1.2.2
2023-01-30 17:26:25 -05:00
Weijia Wang
7ff8fc2248 darwin.xattr: update src 2023-01-30 23:25:44 +01:00
Weijia Wang
0dccb35d37 darwin.DarwinTools: update src 2023-01-30 23:25:37 +01:00
Randy Eckenrode
54614fa1c0
xcode: update hashes to SRI for consistency 2023-01-28 17:51:21 -05:00
Randy Eckenrode
2e2bd8b4f5
xcode: add missing versions 2023-01-28 17:51:18 -05:00
Domen Kožar
cfb80ea275
Merge pull request #211908 from stephank/fix/swift-darwin
[staging-next] swift: bootstrap using system stdlib
2023-01-28 11:58:03 +00:00
Martin Weinelt
52029b8e00 Merge remote-tracking branch 'origin/master' into staging-next 2023-01-27 23:50:36 +01:00
Weijia Wang
c5da2d2a89
Merge pull request #212096 from boeyms/fix-darwin.dtrace
darwin.dtrace: Fix failing build
2023-01-27 23:07:57 +01:00
Boey Maun Suang
fbaface6ff darwin.dtrace: Fix failing build
What dtrace needs from the CoreSymbolication private framework on Darwin
is provided in Nixpkgs by two different packages, but both of their full
attribute paths end in CoreSymbolication.

This commit therefore does two things:
- adds the second CoreSymbolication package to dtrace's dependencies;
  and
- adds an alias for the second CoreSymbolication package to avoid
  having to explicitly name or rename it when calling the dtrace
  package in the existing contexts.
2023-01-27 12:47:22 +11:00
github-actions[bot]
d7e7d75f99
Merge master into staging-next 2023-01-26 06:01:24 +00:00
Randy Eckenrode
f46a7bce86
moltenvk: 1.2.0 -> 1.2.1
https://github.com/KhronosGroup/MoltenVK/releases/tag/v1.2.1
2023-01-23 19:44:42 -05:00
Randy Eckenrode
eb03da8785
moltenvk: build against dependencies in nixpkgs 2023-01-23 19:44:42 -05:00
github-actions[bot]
feb2240b37
Merge master into staging-next 2023-01-22 18:01:03 +00:00
Domen Kožar
9d57399b8e
Merge pull request #157628 from veprbl/pr/darwin_cctools_apple
darwin.cctools-apple: init at 973.0.1-609
2023-01-22 17:21:33 +00:00
Stéphan Kochen
f4ae6b252d Revert "darwin.apple_sdk_11_0: add Security dependency on xpc"
This reverts commit 511f21df7c.

In apple_sdk_11_0, the xpc package contains only headers that are
already part of libsystem, so this change did nothing.

For Swift and `-fmodules`, this actually caused an error, because
there was now a duplicate module in the search path.
2023-01-22 10:36:10 +01:00
github-actions[bot]
f04194698a
Merge staging-next into staging 2023-01-21 12:02:00 +00:00