Commit Graph

1302 Commits

Author SHA1 Message Date
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
Nick Cao
88cce6f04e
Merge pull request #211813 from wegank/moltenvk-fix
darwin.moltenvk: fix build
2023-01-21 16:17:22 +08:00
github-actions[bot]
2773ad7600
Merge staging-next into staging 2023-01-21 06:01:39 +00:00
nvmd
4c47864b7c
utm: 4.0.8 -> 4.1.5 2023-01-21 01:58:50 +03:00
Sergei Trofimovich
b9b1d958d0 Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
	pkgs/development/libraries/qt-6/modules/qtbase.nix
	pkgs/stdenv/linux/make-bootstrap-tools.nix
2023-01-20 21:56:57 +00:00
Weijia Wang
cb6831ac44 darwin.moltenvk: fix build 2023-01-20 20:47:11 +01:00
Weijia Wang
846e4de6e8 darwin.apple_sdk_11_0.libpm: init 2023-01-18 14:58:43 +01:00
toonn
b7590f3429
Merge pull request #189977 from stephank/feat/swift-darwin
swift: split build & Darwin support.
2023-01-17 14:51:00 +01:00
Nick Cao
519ef86421
Merge pull request #209260 from azuwis/sketchybar
sketchybar: 2.8.2 -> 2.12.3
2023-01-17 10:42:09 +08:00
Sergei Trofimovich
ca4da963f8 Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
    pkgs/development/libraries/audio/roc-toolkit/default.nix
2023-01-14 11:07:42 +00:00
github-actions[bot]
49722fd14a
Merge master into staging-next 2023-01-13 18:01:34 +00:00
Vladimír Čunát
befc83905c
Merge #209423: gnat12: add for x86_64-darwin 2023-01-13 18:32:21 +01:00
github-actions[bot]
96d361c622
Merge staging-next into staging 2023-01-13 12:02:02 +00:00
K900
2b06f2a986 darwin/apple-sdk-11.0: expose xcodebuild directly 2023-01-12 10:36:42 +03:00
Uri Baghin
ea9c9ba75c
Merge pull request #207123 from divanorama/darwin_security_xpc
darwin.apple_sdk_11_0: add Security dependency on xpc
2023-01-12 08:37:53 +11:00
github-actions[bot]
db669efe0d
Merge staging-next into staging 2023-01-11 06:02:05 +00:00
Martin Weinelt
c1e6c6af69 Merge remote-tracking branch 'origin/master' into staging-next 2023-01-11 03:51:33 +01:00
zowoq
ae50f0678a
Revert "bazel_6: 6.0.0-pre.20220720.3 -> 6.0.0" 2023-01-11 10:01:46 +10:00
Uri Baghin
4001c325ac
Merge pull request #206934 from alloveras/patch-2
bazel_6: 6.0.0-pre.20220720.3 -> 6.0.0
2023-01-11 10:25:22 +11:00
luxus
b31bb0e1d1 sketchybar: 2.8.2 -> 2.13.2 2023-01-10 23:42:53 +08:00
luxus
c40708f924 darwin.apple_sdk.frameworks.DisplayServices: init
Used by sketchybar
2023-01-10 23:14:00 +08:00
Artturi
27c1ec2ecf
Merge pull request #209816 from Artturin/deprecate-top-level-platform-aliases 2023-01-09 22:15:50 +02:00
Artturin
2eeb34c273 treewide: {build,host,target}Platform -> stdenv.{build,host,target}Platform 2023-01-09 21:13:22 +02:00
github-actions[bot]
05972e9778
Merge staging-next into staging 2023-01-09 18:01:58 +00:00
github-actions[bot]
33aa224777
Merge master into staging-next 2023-01-09 18:01:24 +00:00
Weijia Wang
9957ee5fd6 darwin: add usage to generate-sdk-packages.sh 2023-01-09 13:08:37 +01:00
Weijia Wang
2bd3048ea4 darwin: fix generate-sdk-packages.sh 2023-01-09 13:08:09 +01:00
github-actions[bot]
e551f4f380
Merge staging-next into staging 2023-01-08 18:01:40 +00:00
Martin Weinelt
4d65509504 Merge remote-tracking branch 'origin/master' into staging-next 2023-01-08 16:34:30 +01:00
Thiago Kenji Okada
0aefadec65
Merge pull request #207296 from wegank/chuck-darwin
chuck: 1.4.1.0 -> 1.4.1.1, unbreak on aarch64-darwin
2023-01-08 14:54:04 +00:00
Felix Bühler
1302f3bd27
apple-source-release: deprecate phases (#161535) 2023-01-07 17:20:01 -05:00
Boey Maun Suang
82b88d2db6 bintoolsDualAs: Add package
For reasons explained in the commit contents, in order to build the
native gnat package for x86_64-darwin, the native gnatboot package for
x86_64-darwin must have access to both the Clang integrated assembler
and the cctools GNU assembler for that platform.  This commit creates a
package with both of those assemblers that x86_64-darwin gnatboot can
then be wrapped with.
2023-01-07 18:32:12 +11:00
github-actions[bot]
e859576396
Merge staging-next into staging 2023-01-04 00:03:20 +00:00
Artturi
099f6ed77c
Merge pull request #203504 from IvarWithoutBones/bump-yabai 2023-01-03 23:52:03 +02:00
Weijia Wang
ac3c81faa1 darwin.apple_sdk: expose MultitouchSupport 2023-01-03 18:23:33 +01:00
github-actions[bot]
e2839320bb
Merge staging-next into staging 2023-01-03 12:01:44 +00:00
Weijia Wang
198d522594 darwin.apple_sdk.frameworks.DebugSymbols: init 2023-01-02 23:05:36 -05:00
Grace Dinh
d8b19108ef goku: 0.5.2 -> 0.6.0, fix deps, add aarch64 2023-01-02 14:50:41 -08:00
Jan Tojnar
72c37eddec Merge branch 'staging-next' into staging 2022-12-25 01:30:47 +01:00
Ivar Scholten
27d6a8b410 yabai: 4.0.4 -> 5.0.2
This removes the need for the yabai-load-sa script on x86_64-darwin, the
scripting addition can now simply be installed/launched with
`yabai --load-sa`.
2022-12-23 10:21:39 +01:00
Albert Lloveras
b86dab08a2 Use darwin.apple_sdk_11_0.callPackage 2022-12-22 09:08:02 +11:00
Sandro
42ad772205
Merge pull request #180888 from gdinh/add-plistwatch 2022-12-21 20:38:29 +01:00
Dmitry Ivankov
511f21df7c darwin.apple_sdk_11_0: add Security dependency on xpc
Some packages like `bazel-watcher` seems to have broken after
9dc3b14859

Where `xpc` was removed from `IOSurface` dependencies.
`CoreServices` were pulling `xpc` via `IOSurface` and so `Security`
didn't break. Now explicit dependency on `xpc` is needed to avoid
errors like
```
In file included from __main__/external/com_github_fsnotify_fsevents/go_1_10_after.go:6:
In file included from /nix/store/2k3mdkl9jvwwzpbfaqhchfiqjq64046b-apple-framework-CoreServices-11.0.0/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39:
In file included from /nix/store/2k3mdkl9jvwwzpbfaqhchfiqjq64046b-apple-framework-CoreServices-11.0.0/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:23:
In file included from /nix/store/2k3mdkl9jvwwzpbfaqhchfiqjq64046b-apple-framework-CoreServices-11.0.0/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h:23:
In file included from /nix/store/2k3mdkl9jvwwzpbfaqhchfiqjq64046b-apple-framework-CoreServices-11.0.0/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h:29:
In file included from /nix/store/2k3mdkl9jvwwzpbfaqhchfiqjq64046b-apple-framework-CoreServices-11.0.0/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h:43:
In file included from /nix/store/dg51rm1bapffbqvn46bh43km4dhcsy9p-apple-framework-Security-11.0.0/Library/Frameworks/Security.framework/Headers/Security.h:87:
/nix/store/dg51rm1bapffbqvn46bh43km4dhcsy9p-apple-framework-Security-11.0.0/Library/Frameworks/Security.framework/Headers/SecCode.h:35:10: fatal error: 'xpc/xpc.h' file not found
         ^~~~~~~~~~~
```

Should help with https://github.com/NixOS/nixpkgs/pull/203519
2022-12-21 17:05:16 +01:00
github-actions[bot]
dc7ebb0163
Merge staging-next into staging 2022-12-18 18:01:41 +00:00
figsoda
ec8cb34358 treewide: fix typos 2022-12-17 19:39:44 -05:00
github-actions[bot]
887e342eaa
Merge staging-next into staging 2022-12-17 18:01:35 +00:00
Sandro
fb769ee3c3
pam-reattach: cleanup (#205509) 2022-12-17 17:35:23 +01:00
github-actions[bot]
4db4181d93
Merge staging-next into staging 2022-12-14 00:02:53 +00:00
Rick van Schijndel
9833d56c24 treewide: mark packages broken that never built on PLATFORM
Done with the help of https://github.com/Mindavi/nixpkgs-mark-broken
Tool is still WIP but this is one of the first results.

I manually audited the results and removed some results that were not valid.

Note that some of these packages maybe should have more constrained platforms set
instead of broken set, but I think not being perfectly correct is better than
just keep trying to build all these things and never succeeding.

Some observations:

- Some darwin builds require XCode tools
- aarch64-linux builds sometimes suffer from using gcc9
  - gcc9 is getting older and misses some new libraries/features
- Sometimes tools try to do system detection or expect some explicit settings for
  platforms that are not x86_64-linux
2022-12-13 21:40:12 +01:00
Robert Hensing
16f5747575
Merge pull request #175649 from Artturin/opt-in-structured-attrs
stdenv: support opt-in __structuredAttrs
2022-12-10 21:12:43 +01:00
Naïm Favier
11ca3343f5
Merge pull request #178894 from lockejan/darwin/pam_reattach 2022-12-10 14:15:49 +01:00
Grace Dinh
76076c404a plistwatch: init at unstable-2020-12-22 2022-12-08 17:16:28 -08:00
Artturin
238a6053c4 stdenv: support opt-in __structuredAttrs
Co-authored-by: Robin Gloster <mail@glob.in>

stdenv: print message if structuredAttrs is enabled

stdenv: add _append

reduces the chance of a user doing it wrong

fix nix develop issue

output hooks don't work yet in nix develop though

making $outputs be the same on non-structuredAttrs and structuredAttrs
is too much trouble.

lets instead make a function that gets the output names

reading environment file '/nix/store/2x7m69a2sm2kh0r6v0q5s9z1dh41m4xf-xz-5.2.5-env-bin'
nix: src/nix/develop.cc:299: std::string Common::makeRcScript(nix::ref<nix::Store>, const BuildEnvironment&, const Path&): Assertion `outputs != buildEnvironment.vars.end()' failed.

use a function to get all output names instead of using $outputs

copy env functionality from https://github.com/NixOS/nixpkgs/pull/76732/commits
2022-12-08 06:13:19 +02:00
Jan Schmitt
1fb092b81e
pam_reattach: init at 1.3 2022-11-22 13:58:30 +01:00
Stéphan Kochen
ae174e2416 Merge remote-tracking branch 'origin/staging' into HEAD 2022-11-15 14:22:59 +01:00
Sandro
21fa5a05ef
Merge pull request #196357 from Enzime/shortcat 2022-10-27 14:17:27 +02:00
Michael Hoang
2c7ebf1fb9 shortcat: init at 0.11.0 2022-10-27 13:13:00 +11:00
Sandro
f3610b3624
Merge pull request #196763 from reckenrode/moltenvk-bump 2022-10-26 14:29:55 +02:00
Ivv
b4c2ae10f9
Merge pull request #188322 from IvarWithoutBones/bump-yabai
yabai: 3.3.10 -> 4.0.4
2022-10-26 11:33:30 +02:00
github-actions[bot]
71e4896d63
Merge master into staging-next 2022-10-22 12:01:25 +00:00
Rahul Butani
1ab41a22f5
utm: 3.2.4 → 4.0.8 2022-10-20 00:37:51 -05:00
Randy Eckenrode
edad2ee58c
moltenvk: 1.1.11 -> 1.2.0 2022-10-19 08:56:10 -04:00
github-actions[bot]
4f07e7f326
Merge master into staging-next 2022-10-15 06:07:54 +00:00
Vladimír Čunát
00a757ed3f
Merge branch 'master' into staging 2022-10-13 08:27:55 +02:00
Grace Dinh
521d14520d macfuse-stubs: 4.1.0 -> 4.4.1 2022-10-12 13:30:39 -07:00
Stanisław Pitucha
d1dcdeebfa
Merge pull request #195274 from rrbutani/feature/utm
utm: init at 3.2.4
2022-10-11 22:56:26 +11:00
Stéphan Kochen
8ed924c07a swift: compiler only build & darwin support 2022-10-10 21:26:47 +02:00
Stéphan Kochen
6062fd0800 apple_sdk_11_0: Add SwiftUI dependencies 2022-10-10 21:25:44 +02:00
Stéphan Kochen
e23a97700f apple_sdk_11_0: Fix missing CoreVideo include 2022-10-10 21:25:43 +02:00
Stéphan Kochen
6a20451ac0 apple_sdk_11_0: Foundation depends on Combine 2022-10-10 21:25:43 +02:00
Stéphan Kochen
d69453559a apple_sdk_11_0: install swift modules 2022-10-10 21:25:43 +02:00
Artturin
7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
Rahul Butani
1fbfdb6bdf
utm: init at 3.2.4 2022-10-09 17:04:59 -05:00
Rahul Butani
cfe59eab36
sigtool: 0.1.2 → 0.1.3
adds `--sign` as an alias for `-s`: https://github.com/thefloweringash/sigtool/releases/tag/v0.1.3
2022-10-08 11:12:36 -05:00
github-actions[bot]
7dc2d52e3b
Merge staging-next into staging 2022-10-06 12:02:07 +00:00
github-actions[bot]
8d6fbd7341
Merge master into staging-next 2022-10-06 12:01:31 +00:00
Thiago Kenji Okada
678fff8616
rectangle: add meta.sourceProvenance 2022-10-06 12:09:25 +01:00
toonn
ee71ac613c
Merge pull request #185656 from stephank/feat/cctools
darwin.cctools: 949.0.1 -> 973.0.1
2022-10-06 10:23:51 +02:00
Michael Hoang
151446151e rectangle: init at 0.59 2022-10-06 12:20:32 +11:00
Martin Weinelt
253ca4957d Merge remote-tracking branch 'origin/master' into staging-next 2022-10-05 00:44:16 +02:00
Nikolay Korotkiy
daacfa216d
Merge pull request #191867 from jiegec/bump-iproute2mac
darwin.iproute2mac: 1.4.0 -> 1.4.1
2022-10-05 01:20:17 +03:00
Frederik Rietdijk
63e480ba16 Merge staging-next into staging 2022-09-26 09:31:50 +02:00
Frederik Rietdijk
de57d754a0 Merge master into staging-next 2022-09-26 09:31:22 +02:00
toonn
3b8aa21fd1
Merge branch 'impl/fix-libtapi-cross' into staging 2022-09-25 19:19:25 +02:00
Michael Hoang
6448399431 defaultbrowser: init at unstable-2020-07-23 2022-09-24 09:37:12 +10:00
Theodore Ni
ac6d052fd9
apple_sdk: clean up unused Libsystem parameter 2022-09-20 12:14:51 +02:00
Stéphan Kochen
9dc3b14859
IOSurface: remove xpc dependency 2022-09-20 12:14:50 +02:00
Stéphan Kochen
6515b56871
darwin.apple_sdk_11_0: use stdenv objc4
Stdenv on aarch64-darwin pulls in (bootstrap-stage4) objc4, unlike
x86_64. However derivations that otherwise depend on objc4 would use a
a different objc4 derivation on top of the final stdenv.

Because this library defines an LLVM module, having multiple instances
of it in the import path will interfere with builds.
2022-09-20 12:14:49 +02:00
Jiajie Chen
1faa216745 darwin.iproute2mac: 1.4.0 -> 1.4.1 2022-09-19 09:27:47 +08:00
Vladimír Čunát
cc47efce23
darwin.xattr: add setuptools 2022-09-18 15:50:08 +02:00
Ivar Scholten
1b8e3d4dbc yabai: 3.3.10 -> 4.0.4 2022-09-16 08:50:49 +02:00
Ivar Scholten
ed528b1c44 yabai: 3.3.10 -> 4.0.2 2022-09-11 18:19:28 +02:00
Noah Fontes
b4dc06bc9e
libtapi: update for cross-compilation
In b060076e21 ("cc-wrapper: broaden explicit libc++abi linking for
LLVM stdenv"), all packages started to be linked with -lc++abi. When
cross compiling, the libcxxabi path seemingly needs to be passed to the
the libtapi derivation; it won't pick it up on its own (perhaps because
of the bootstrapping?).
2022-09-07 22:17:29 -07:00
Sandro
9b5ce94287
Merge pull request #186705 from reckenrode/moltenvk-update
moltenvk: 1.1.10 -> 1.1.11
2022-09-07 10:54:44 +02:00
Sandro
8e119ea439
Merge pull request #189136 from IvarWithoutBones/swiftbar 2022-09-04 21:30:55 +02:00
Malo Bourgon
3a72765712 swiftdefaultapps: init at 2.0.1 2022-09-02 17:24:11 -07:00
Ivar Scholten
cfc7e6ddc3 swiftbar: init at 1.4.3 2022-08-31 18:21:47 +02:00
Michael Hoang
f73bb818a1
karabiner-elements: init at 14.8.0 (#188129)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-08-28 20:59:16 +02:00
github-actions[bot]
7b5c82c518
Merge master into staging-next 2022-08-17 18:01:22 +00:00
Darwin Corn
96021cfb71 spacebar: 1.2.1 -> 1.4.0 2022-08-17 12:11:29 -04:00
Randy Eckenrode
d1799fe385
moltenvk: 1.1.10 -> 1.1.11 2022-08-14 15:27:04 -04:00
Stéphan Kochen
a7eb0a180b darwin.Libsystem: add missing modulemaps 2022-08-12 11:54:10 +02:00
Sandro
56ad3d56c8
Merge pull request #161288 from wlcx/pngpaste-0.2.3 2022-08-11 23:47:54 +02:00
Zhong Jianxin
fdd94b489d sketchybar: 2.7.1 -> 2.8.2 2022-08-10 16:33:28 +08:00
Stéphan Kochen
71b05eccaa darwin.cctools: 949.0.1 -> 973.0.1 2022-08-08 12:52:12 +02:00
Sam Willcocks
cbe518b293 pngpaste: init at 0.2.3 2022-08-07 18:20:24 +03:00
Uri Baghin
3b62a2b3cf
Merge pull request #179971 from jiegec/network-cmds-aarch64-darwin-staging
darwin.network_cmds: fix build on aarch64-darwin
2022-08-02 12:36:20 +10:00
Jiajie Chen
20447fd0dc darwin.network_cmds: fix build on aarch64-darwin
- Use network_cmds from macOS 11.0 packages
- Fix TARGET_OS_IPHONE error
- Disable unbound on aarch64-darwin
2022-07-24 09:53:59 +08:00
Randy Eckenrode
c92d1a55d3
moltenvk: 1.1.9 -> 1.1.10 2022-07-21 17:03:54 -04:00
Randy Eckenrode
9d2b95eef3
moltenvk: refactor to build without Xcode
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

- Use the 11.0 SDK instead of the 10.12 one on x86_64-darwin;
- Use `NIX_CFLAGS_COMPILE` and `NIX_LDFLAGS` to pass flags to the
  compiler instead of patching the Xcode project files; and
- Use xcbuild to build the project.
2022-07-21 17:03:53 -04:00
github-actions[bot]
4bff9bab6b
Merge staging-next into staging 2022-07-10 12:02:29 +00:00
Janne Heß
05a276adf0
Merge pull request #180404 from helsinki-systems/libressl_3_5_default
libressl: default to 3.5
2022-07-10 13:30:16 +02:00
Chen
8073a6fb09
darwin.xnu: fix build on aarch64-darwin (#179921)
- Use xnu from macOS 11.0 packages
- Patch iig related usage
- Add a new list of headers for arm64
2022-07-09 10:39:31 -04:00
ajs124
f76d71f98f darwin.network_cmds:: pin to libressl 3.4 2022-07-07 22:11:54 +02:00