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
Randy Eckenrode
9659c7abce
apple_sdk_11_0: provide SDK-specific callPackage
2022-07-07 07:52:36 -04:00
Randy Eckenrode
4741402d54
apple_sdk_11_0: expose 11.0 sdk stdenv as an attribute
2022-07-06 19:41:17 -04:00
Randy Eckenrode
d8f71776ff
apple_sdk_11_0: fix build on x86_64-darwin and expose as attribute
2022-07-06 19:41:17 -04:00
ajs124
a8517f95b8
maintainers: remove joelteon
...
no github account linked
2022-06-29 00:52:14 +02:00
Jiajie Chen
087eeea133
darwin.iproute2mac: 1.2.1 -> 1.4.0
...
https://github.com/brona/iproute2mac/releases/tag/v1.4.0
Add jiegec to maintaienr list.
2022-06-27 12:10:26 +08:00
github-actions[bot]
ccdd0f7af6
Merge master into staging-next
2022-06-16 23:27:22 +00:00
Zhong Jianxin
26742b37dc
sketchybar: 2.5.2 -> 2.7.1
2022-06-16 15:31:16 +08:00
github-actions[bot]
f3de1bfb6d
Merge master into staging-next
2022-06-11 18:01:12 +00:00
Sandro
1ec895fd1d
Merge pull request #175851 from reckenrode/dxvk-refactor
...
dxvk: refactor derivation and Darwin support
2022-06-11 15:11:41 +02:00
github-actions[bot]
1a1be0c727
Merge staging-next into staging
2022-06-09 18:01:58 +00:00
Sergei Trofimovich
d07b20daf3
Merge pull request #176389 from trofi/workaround-fno-common-for-darwin.developer_cmds
...
darwin.developer_cmds: add -fcommon workaround
2022-06-09 17:23:21 +00:00
Sergei Trofimovich
daa44b3509
Merge pull request #176394 from trofi/workaround-fno-common-for-darwin.file_cmds
...
darwin.file_cmds: add -fcommon workaround
2022-06-09 17:23:01 +00:00
Sergei Trofimovich
f436bf1145
Merge pull request #176351 from trofi/workaround-fno-common-for-darwin.top
...
darwin.top: add -fcommon workaround
2022-06-09 17:13:11 +00:00
Martin Weinelt
6451e9d4a5
Merge remote-tracking branch 'origin/staging-next' into staging
2022-06-08 22:22:26 +02:00
Randy Eckenrode
22d787323b
moltenvk: use functional form of mkDerivation
...
This allows MoltenVK to be overriden with pinned dependencies.
2022-06-07 10:06:31 -04:00
Randy Eckenrode
54d3d61b0c
moltenvk: remove DXVK compatibility patches
2022-06-07 10:06:31 -04:00
Dmitry Kalinkin
5906c4f6fb
Merge pull request #173152 from veprbl/pr/bsdmake_fix
...
darwin.bsdmake: fix for systems with non-standard RLIMIT_NOFILE
2022-06-05 12:03:40 -04:00
Sergei Trofimovich
7d6048d0ad
darwin.file_cmds: add -fcommon workaround
...
Workaround build failure on -fno-common toolchains like upstream
clang-11. Otherwise build fails as:
duplicate symbol '_chdname' in: ar_io.o tty_subs.o
2022-06-05 14:03:44 +01:00
Sergei Trofimovich
d3805f8df5
darwin.dtrace: add -fcommon workaround
...
Workaround build failure on -fno-common toolchains like upstream
clang-11. Otherwise build fails as:
duplicate symbol '_kCSRegionMachHeaderName' in: libproc.o dt_module_apple.o
2022-06-05 13:53:22 +01:00
Sergei Trofimovich
2923e72443
darwin.developer_cmds: add -fcommon workaround
...
Workaround build failure on -fno-common toolchains like upstream
clang-11. Otherwise build fails as:
duplicate symbol '_btype_2' in:args.o pr_comment.o
2022-06-05 13:40:50 +01:00
Sergei Trofimovich
6868bb9ceb
darwin.top: add -fcommon workaround
...
Workaround build failure on -fno-common toolchains like upstream
clang-11. Otherwise build fails as:
duplicate symbol '_tsamp' in: main.o top.o
2022-06-05 10:11:41 +01:00
Randy Eckenrode
71ceba177f
moltenvk: provide MoltenVK-specific headers
...
These are needed to compile `vulkaninfo` in the Vulkan-Tools package.
2022-05-23 00:59:49 -04:00
Randy Eckenrode
af99bbf451
moltenvk: fix broken ICD definition
2022-05-23 00:59:48 -04:00
Sandro
bf3b55c038
Merge pull request #173282 from azuwis/sketchybar
...
sketchybar: 2.5.0 -> 2.5.2
2022-05-21 20:46:37 +02:00
Rick van Schijndel
83561001b3
Merge pull request #169782 from reckenrode/moltenvk-hydra
...
moltenvk: fix Hydra build failures
2022-05-18 20:03:07 +02:00
Jay Rovacsek
4ff9578411
dockutil 2.0.5 -> 3.0.2 ( #167488 )
...
* dockutil 2.0.5 -> 3.0.2
Implement required changes to dockutil to handle newer version of package: 3.0.2
* Add gzip to inputs, remove pbzx as it is unused
* Utilise recommended changes reducing build dependencies and following darwin patterns more closely.
Note; this changeset does maintain the symlinking of $out/usr/local/bin in order to resolve an issue with crashing.
* Apply format/lint with nixfmt
2022-05-18 04:57:38 +03:00
Zhong Jianxin
45a97a571b
sketchybar: 2.5.0 -> 2.5.2
2022-05-17 14:15:14 +08:00
Dmitry Kalinkin
df2ded87a3
darwin.bsdmake: fix for systems with non-standard RLIMIT_NOFILE
2022-05-15 10:53:50 -04:00
github-actions[bot]
dae6d3bb73
Merge master into staging-next
2022-05-14 12:01:17 +00:00
yqrashawn
65c8b91090
goku 0.5.1 -> 0.5.2 ( #1 )
2022-05-14 09:45:19 +08:00
github-actions[bot]
2282e994f2
Merge staging-next into staging
2022-05-10 00:02:52 +00:00
Rick van Schijndel
1bd0b4de1f
goku: fix download url
...
I accidentally merged this even though the url was not correct.
Fixup for https://github.com/NixOS/nixpkgs/pull/168863 .
2022-05-09 20:00:06 +02:00
github-actions[bot]
27575e98ee
Merge staging-next into staging
2022-05-09 12:08:45 +00:00
Rick van Schijndel
bf25f1af17
Merge pull request #168863 from yqrashawn/patch-1
...
goku: 0.3.6 -> 0.5.1
2022-05-09 11:09:32 +02:00
toonn
7fb011df89
Libsystem: Update headers.txt
...
Replacing `cpio -pdm` with `copyHierarchy` makes us end up with two
extra headers. I'm not sure why this happens, there's no reason why
`cpio` should miss those headers.
2022-05-05 11:53:52 -04:00
toonn
972c7e99ff
Libsystem: Replace cpio with copyHierarchy
...
I noticed every time building Libsystem that there was a very slow phase
where the output consisted of many lines like `42 blocks`. This is
output from cpio and in brief testing it takes at least twice as long to
go through cpio for the simple copies we want to make. The interface is
very convenient but the performance penalty is very painful so I decided
to implement a function that emulates cpio's interface.
On my machine with a 7200 RPM HDD this speeds up the build from about
250 minutes to about 75 seconds, a factor of 200! I'm not certain the
results on modern hardware would be similarly positive so this could use
further testing.
2022-05-05 11:53:52 -04:00
Sandro
941c24d349
Merge pull request #170454 from willcohen/network_cmds
...
darwin.network_cmds: switch openssl to libressl
2022-04-27 16:54:51 +02:00
Will Cohen
36b5da498c
darwin.network_cmds: switch openssl to libressl
2022-04-26 13:42:04 -04:00
Bobby Rong
fd39a60a42
mas: use testers.testVersion
2022-04-26 15:59:18 +08:00
Randy Eckenrode
75c7e04801
moltenvk: fix Hydra build failures
...
MoltenVK requires Xcode to build until a newer SDK (11+) is available in
nixpkgs. Disable building on Hydra until that changes.
2022-04-22 08:54:54 -04:00
Kid
862c4f219a
apple-sdk: update comment about frameworks version
2022-04-21 19:44:28 -04:00
Sandro
209244e930
Merge pull request #168138 from reckenrode/moltenvk-1.1.9
...
moltenvk: 1.1.8 -> 1.1.9
2022-04-21 01:55:06 +02:00
Lassulus
8d83fa4198
Merge pull request #160382 from steinybot/fix/upgrade-mas
...
mas: 1.8.2 -> 1.8.6
2022-04-20 19:18:21 +01:00
Randy Eckenrode
683e87e2eb
moltenvk: 1.1.8 -> 1.1.9
2022-04-19 20:35:45 -04:00
yqrashawn
f77b63b46f
goku: 0.3.6 -> 0.5.1
2022-04-16 10:52:00 +08:00
Malo Bourgon
0e802eafad
treewide: add meta.mainProgram to many packages
2022-04-14 10:24:01 -07:00
Martin Weinelt
c6476294e1
Merge remote-tracking branch 'origin/master' into staging-next
2022-04-04 18:40:34 +02:00
ajs124
49c51cdd51
openssl_1_0_2: drop
2022-04-04 15:37:05 +01:00
Martin Weinelt
d0bfb3ccbb
Merge remote-tracking branch 'origin/master' into staging-next
2022-03-31 03:49:37 +02:00
Malo Bourgon
9683aa44a2
m-cli: 0.2.5 -> 0.3.0
2022-03-28 18:54:19 -07:00
github-actions[bot]
e3d20dfaa5
Merge master into staging-next
2022-03-27 18:01:05 +00:00
Sandro
1bf32e43de
Merge pull request #163474 from reckenrode/dxvk-refactor
2022-03-27 17:00:33 +02:00
Vladimír Čunát
0a8b4eddd2
Merge branch 'master' into staging-next
2022-03-25 10:16:56 +01:00
Artturin
33cce15e42
treewide: remove meta.repositories
...
there's no documentation for meta.repositories and its not widely used
2022-03-24 23:56:14 +02:00
Jason Pickens
e55eb3d376
mas: 1.8.2 -> 1.8.6
2022-03-13 09:36:45 +13:00
github-actions[bot]
03c9842a65
Merge staging-next into staging
2022-03-10 18:02:01 +00:00
Zhong Jianxin
1cb1b5312d
sketchybar: 2.4.3 -> 2.5.0
2022-03-10 01:07:06 +08:00
Randy Eckenrode
f29e152b7e
dxvk: support version-specific MoltenVK patches
...
While it’s unlikely, it’s possible that different MoltenVK versions
could require their own compatability patches. Support that by making
the `moltenvk` derivation provide the patch via `passthru`. There is no
package with the patch applied because the patch should never be used by
anything other than DXVK.
2022-03-09 11:31:10 -05:00
Malo Bourgon
62860b31ef
Revert "darwin.apple_sdk.frameworks.IOSurface: use Libsystem instead of xpc ( #161561 )"
...
This reverts commit 92074a45f3
.
2022-03-04 21:07:35 -05:00
github-actions[bot]
c69af5b31c
Merge staging-next into staging
2022-03-02 06:16:36 +00:00
Thomas Boerger
80d6b6df01
dockutil: init at 2.0.5 ( #155052 )
2022-03-01 19:30:25 -05:00
github-actions[bot]
54a50a082c
Merge staging-next into staging
2022-02-24 06:01:49 +00:00
Finn Behrens
92074a45f3
darwin.apple_sdk.frameworks.IOSurface: use Libsystem instead of xpc ( #161561 )
2022-02-23 15:57:01 -05:00
Randy Eckenrode
13c0a35fc1
moltenvk: 1.1.7 -> 1.1.8
2022-02-23 11:10:57 -05:00
Sandro
59e6eceb2e
Merge pull request #158534 from reckenrode/moltenvk
2022-02-17 13:42:40 +01:00
Zhong Jianxin
030962a9c0
sketchybar: init at 2.4.3
2022-02-17 09:51:50 +08:00
Randy Eckenrode
b07e3705f2
moltenvk: add MoltenVK_icd.json to output
2022-02-16 17:36:50 -05:00
Randy Eckenrode
f138abff3d
moltenvk: init at 1.1.7
2022-02-16 17:17:06 -05:00
Renaud
e4779a33aa
duti: update homepage
2022-02-06 15:10:26 +01:00
Thomas Boerger
b00ecd5e3d
mysides: new package for darwin ( #155053 )
2022-02-03 16:04:31 -05:00
Dmitry Kalinkin
64b7c29da1
darwin.cctools-apple: init at 973.0.1-609
2022-01-31 20:37:48 -05:00
Dmitry Kalinkin
66ab3568d6
Merge pull request #155089 from veprbl/pr/usr-include_remove
...
darwin.usr-include: remove
2022-01-29 22:36:10 -05:00
Jonathan Ringer
e74ccf2d72
Merge pull request #154708 from NixOS/staging-next
...
Staging next 2022-01-12
2022-01-25 11:54:52 -08:00
Dmitry Kalinkin
d3ec14f6cb
darwin.text_cmds: fix build
2022-01-23 08:18:46 -05:00
Devin Singh
c74a7840e2
diskdev_cmds: fix build using arch's xnu source
2022-01-18 06:52:26 -06:00
Dmitry Kalinkin
831e799e47
darwin.usr-include: remove
...
Originally introduced in 8610a344
('gcc: use special native system
headers for darwin') as a hack, not used anymore.
2022-01-15 04:16:21 -05:00
Dmitry Kalinkin
a56da82f7a
Merge branch 'master' into staging-next
...
Conflicts:
pkgs/development/python-modules/restfly/default.nix
2022-01-13 21:39:05 -05:00
Sandro Jäckel
24e553ceab
maloader: use fetchFromGitHub
2022-01-13 17:16:39 +01:00
Jonathan Ringer
172bcecd6b
Merge remote-tracking branch 'origin/staging-next' into staging
2022-01-07 10:32:13 -08:00
Jonathan Ringer
86f9a32c4c
Merge remote-tracking branch 'origin/master' into staging-next
...
Conflicts:
pkgs/development/python-modules/hydra/default.nix
2022-01-07 10:31:29 -08:00
Ben Siraphob
8641b298b1
chunkwm: remove
2022-01-07 16:45:53 +07:00
Randy Eckenrode
a42a04fadd
libresolv: fix build on aarch64-darwin
...
Use `configdHeaders` instead of `configd`. This fixes #134292 .
2022-01-03 21:32:52 -05:00
Randy Eckenrode
3791603924
configdHeaders: init at 453.19
...
`configd` is aliased to `apple-sdk.frameworks.SystemConfiguration` in
apple-sdk-11.0, which is the default on aarch64-darwin, but it does not
include all of the headers. This package introduces the missing
headers, which are needed to build `libresolv`.
A subsequent commit will fix libresolv to build on aarch64-darwin.
2022-01-03 21:32:52 -05:00
github-actions[bot]
2aa3af36ca
Merge staging-next into staging
2021-12-06 12:01:55 +00:00
Jonathan Ringer
5263fb820e
Merge remote-tracking branch 'origin/master' into staging-next
...
Conflicts:
pkgs/development/python-modules/django-rq/default.nix
pkgs/top-level/all-packages.nix
2021-12-05 22:02:00 -08:00
Christian Kögler
7980f52d0c
yabai: 3.3.4 -> 3.3.10
2021-12-05 19:15:43 +01:00
Felix Buehler
b40eaa1675
swift-corelibs: use pname&version instead of name
2021-12-05 15:39:48 +01:00
Jonathan Ringer
3bbe9a9459
Merge remote-tracking branch 'origin/staging-next' into staging
...
Conflicts:
pkgs/top-level/all-packages.nix
2021-11-29 10:15:20 -08:00
toonn
e33c11a557
Libc: Merge TARGET_OS_EMBEDDED patches
...
Both patches implement the same fix so they'll probably have to be
removed at the same time. This avoids one of them being left behind.
2021-11-24 15:17:13 -08:00
toonn
459dc34b2b
Libc: Define target in stdio too
2021-11-24 15:17:13 -08:00
toonn
5aa4c46dcd
Libc: Define target instead of including
...
Including `TargetConditionals.h` had knock-on effects, breaking the zlib
build because `TARGET_OS_MAC` gets defined, for instance.
Defining `TARGET_OS_EMBEDDED` to be `0` if it's not defined is simpler
and maintains the default behavior so it shouldn't break any dependents.
2021-11-24 15:17:13 -08:00
toonn
99bef31835
Libc: stdlib uses undefined TARGET_OS_EMBEDDED
2021-11-24 15:17:13 -08:00
Sandro Jäckel
7e9d442837
darwin.CF: Add pre-/postBuild hooks to buildPhase
2021-11-24 15:17:13 -08:00
toonn
3b2d3f65b7
darwin.CF: Drop clang 7 workaround
2021-11-24 15:17:13 -08:00
toonn
2bb0e256ea
darwin.CF: Include missing TARGET_OS_* defines
...
This patch is static and may not be appropriate if the compilation
target is iOS.
2021-11-24 15:17:13 -08:00
toonn
84454c3233
darwin.Libsystem: Patch TargetConditionals.h
...
`TargetConditionals.h` was missing several definitions, like
`TARGET_OS_TV` that are part of SDK 10.12 at least. And one that doesn't
seem to occur in any SDK afaict, `TARGET_OS_EMBEDDED_OTHER`.
I added the definitions from SDK 10.12 verbatim and defined
`TARGET_OS_EMBEDDED_OTHER` to be equal to `0`.
I think none of this works if `darwin.Libsystem` is used to build for
linux or iOS though so maybe this needs a more thorough fix?
This reverts 336d82617f
because it's no
longer necessary.
2021-11-24 15:17:13 -08:00
toonn
e07eef85e8
xnu: Fix python3 patch
...
This reverts 7da313e10a
because it's no
longer necessary.
2021-11-24 15:17:13 -08:00
Jan Tojnar
b8c07facaa
Fix eval with nix-env -qas
...
At least on NixOS, it fails to evaluate as follows:
$ nix-env -qaPs -f .
error: attribute '__propagatedImpureHostDeps' missing
2021-11-17 16:28:55 +01:00
Felix Buehler
9480444dae
treewide: rename name to pname&version
2021-11-09 22:24:57 +01:00
Lein Matsumaru
ae4666c415
darwin.rewrite-tbd: only build on darwin
2021-11-08 13:11:29 +00:00
Andrew Childs
e456e9b1ae
sigtool: 0.1.0 -> 0.1.2
...
Fixes build on x86_64-darwin
2021-09-25 10:38:35 +09:00
Michael Stone
470466fdbd
sigtool: 4a3719b4 -> 2a13539d ( #138453 )
...
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-09-23 17:14:07 +02:00
github-actions[bot]
6f038e8b11
Merge master into staging-next
2021-09-14 12:01:03 +00:00
Emily
35a1ca8a0a
darwin.trash: fix on aarch64-darwin
...
None of these clang options should be necessary with the nixpkgs stdenv
infrastructure, and the -arch was breaking Apple Silicon builds.
2021-09-14 03:31:31 +01:00
github-actions[bot]
dbad333a72
Merge master into staging-next
2021-08-28 12:01:06 +00:00
Domen Kožar
09818c59fa
Merge pull request #135345 from prusnak/ghc-aarch64-darwin
...
ghc: enable build on aarch64-darwin (aka Apple Silicon)
2021-08-28 13:10:55 +02:00
Pavol Rusnak
236fd9c902
darwin.signingUtils: move signDarwinBinariesIn from fixupOutputHooks to postFixupHooks
...
to fix ghc build
2021-08-28 12:54:05 +02:00
github-actions[bot]
b13b005f0e
Merge master into staging-next
2021-08-26 12:01:09 +00:00
zowoq
13ea123c74
treewide: buildFlagsArray -> ldflags
2021-08-26 21:35:06 +10:00
Jan Tojnar
4ff3577f25
Merge branch 'staging-next' into staging
2021-08-23 14:19:54 +02:00
github-actions[bot]
1f6dedd364
Merge master into haskell-updates
2021-08-18 00:05:52 +00:00
Jan Tojnar
e286e1cfa0
Merge branch 'staging-next' into staging
...
- boost 167 removed on staging-next (7915d1e03f
) × boost attributes are inherited on staging (d20aa4955d
)
- linux kernels were moved to linux-kernels.nix on staging-next (c62f911507
) × hardened kernels are versioned on staging (a5341beb78
) + removed linux_5_12 (e55554491d
)
- conflict in node-packages – I regenerated it using node2nix from nixos-unstable (does not build on staging)
2021-08-17 18:52:37 +02:00
Jasper
00037f7403
darwin.binutils: fix wrapper of as
when cross-compiling to aarch64-darwin ( #134097 )
2021-08-16 22:12:51 -04:00
sternenseemann
283d622397
darwin.xattr: init at 61.60.1
2021-08-14 17:06:29 +02:00
Dmitry Kalinkin
dda4394889
Merge pull request #127229 from veprbl/pr/libsystem_targetconditionals
...
darwin.Libsystem: add definitions TARGET_OS_{IOS,WATCH,BRIDGE,TV,SIMULATOR,NANO} to TargetConditionals.h
2021-08-06 02:14:09 -04:00
Angus Trau
6395aaba17
darwin.apple_sdk.frameworks.AVFoundation: Add missing dependencies
2021-08-01 12:51:26 +10:00
Sandro
d0f62aae75
Merge pull request #130501 from SuperSandro2000/remove-noop-phases-mass
...
Convert phases that contain ":" to dont* = true
2021-07-18 23:46:50 +02:00
Sandro Jäckel
dc48d23a0f
Convert phases that contain ":" to dont* = true
2021-07-17 23:39:16 +02:00
Luke Granger-Brown
a7be563707
darwin.apple_sdk.frameworks.CoreSymbolication: expose under SDK 11.0
...
This is used by the `root` package, and otherwise prevents the
nixpkgs.tarball build from succeeding (e.g.
https://hydra.nixos.org/build/146838433 ).
2021-07-05 02:09:35 +00:00
Andrew Childs
55dcd99859
root: use pure CoreSymbolication on Darwin
...
The current build works by linking against CoreSymbolication in
/System/Library/PrivateFrameworks. This is impure and doesn't work in
newer versions of macOS.
See https://github.com/NixOS/nixpkgs/issues/128576
2021-06-29 11:00:05 +09:00
Dmitry Kalinkin
03137b50d2
darwin.Libsystem: add definitions TARGET_OS_{IOS,WATCH,BRIDGE,TV,SIMULATOR,NANO} to TargetConditionals.h
...
These are defined in the SDK for Apple compilers and some projects assume those are defined unconditionally.
https://reviews.llvm.org/D103598
2021-06-17 11:01:16 -04:00
Jonathan Ringer
d1d37feb6d
Merge branch 'master' into staging-next
...
Conflicts:
pkgs/servers/x11/xorg/default.nix
2021-06-15 19:32:36 -07:00
Jason Lau
8a2d578017
reattach-to-user-namespace: support apple silicon
2021-06-15 11:30:21 -07:00
Jan Tojnar
91171e2955
Merge branch 'master' into staging-next
...
Regenerated pkgs/servers/x11/xorg/default.nix to resolve the conflict.
2021-06-15 11:19:41 +02:00
Sandro
b083c7e9eb
darwin.mas: Fix dontBuild
2021-06-14 14:59:21 +02:00
github-actions[bot]
65a7d168af
Merge master into staging-next
2021-06-12 18:04:56 +00:00
Zach Coyle
88fc8922a4
mas: 1.8.1 -> 1.8.2
2021-06-11 19:22:35 -04:00
Jonathan Ringer
430ac9b830
apple_sdk_11: alias JavaVM
...
Apple removed JavaVM but JavaNativeFoundation seems to be
the replacement. Should be safe to substitute usage of
JavaVM with JavaNativeFoundation.
2021-06-06 15:09:41 -07:00
Domen Kožar
aeb44a891a
Merge pull request #125184 from domenkozar/aarch64-darwin-eval
...
Aarch64 darwin eval
2021-06-03 11:21:20 +02:00
Domen Kožar
9e6417f2a4
fix tarball job evaluation for aarch64-darwin
2021-06-03 10:52:46 +02:00
Anbang Wen
2565e3bba6
nixos/apple-sdk: 11.0 -> 11.1
...
The previous URL is a dead link. This commit updates it and bump the
SDK version to 11.1.
2021-06-02 09:23:28 -07:00
Andrew Childs
e592d342da
darwin.ICU: avoid platform.darwinMinVersion references on non-darwin
...
This package isn't expected to work outside of darwin, but must still
evaluate cleanly.
2021-05-17 00:28:05 +09:00
Andrew Childs
3706fe567b
darwin.DarwinTools: remove reference to CFPriv.h
...
Fixes build on aarch64-darwin.
2021-05-17 00:28:05 +09:00
Ivan Babrou
68733c16f5
darwin.apple_sdk.frameworks: add missing dependencies
...
```
/nix/store/5mgn511gbldf7xl5kjm27z9lj10xcycl-apple-framework-CoreData-11.0.0/Library/Frameworks/CoreData.framework/Headers/NSPersistentCloudKitContainerOptions.h:10:9: fatal error: 'CloudKit/CKDatabase.h' file not found
^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
```
/nix/store/a7k7kqj08602785vsrss0xa85b08hik4-apple-framework-CloudKit-11.0.0/Library/Frameworks/CloudKit.framework/Headers/CKRecord.h:9:9: fatal error: 'CoreLocation/CLLocation.h' file not found
^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
2021-05-17 00:27:04 +09:00
Ivan Babrou
d0eff87f68
darwin.file_cmds: add missing Libinfo dependency
...
Fixing:
```
/private/tmp/nix-build-file_cmds-264.1.1-osx-10.11.6.drv-0/file_cmds-264.1.1/ls/print.c:56:10: fatal error: 'membershipPriv.h' file not found
^~~~~~~~~~~~~~~~~~
1 error generated.
```
2021-05-17 00:27:03 +09:00
Ivan Babrou
577bcf38f8
darwin.shell_cmds: add missing dependency on launchd
2021-05-17 00:27:03 +09:00
Ivan Babrou
da3ae0231a
apple-source-releases: make it compile on aarch64
2021-05-17 00:27:03 +09:00
Ivan Babrou
2eb97f2ddd
darwin.developer_cmds: wrap clang -E from clang-wrapped as clang-cpp
2021-05-17 00:27:03 +09:00
Andrew Childs
d2c9670339
darwin: add CoreFoundation to the build when explicitly required
2021-05-17 00:27:02 +09:00
Matthew Bauer
3e7034abb9
darwin/xcode: provide libc++ from XCode toolchain
...
We could use our own libc++ here, but it is probably best to use the
provided one to ensure consistency. This fixes some C++ programs when
running aarch64-apple-ios-clang++.
2021-05-17 00:27:02 +09:00
Andrew Childs
7eb1e3695d
darwin.signingUtils: init
...
Helper scripts for code signing on darwin.
2021-05-17 00:27:02 +09:00
Andrew Childs
4c890ce9aa
darwin.sigtool: init
2021-05-17 00:27:02 +09:00
Andrew Childs
fe0d5a54c1
darwin/apple-sdk-11.0: inject an sdk for macOS 11
2021-05-17 00:27:01 +09:00
Andrew Childs
0ba7a04743
darwin/binutils: include codesign_allocate
2021-05-17 00:27:01 +09:00
Andrew Childs
eb8f8afac7
libtapi: cross compilation
2021-05-17 00:27:01 +09:00
Andrew Childs
b7abec31d4
rewrite-tbd: init
2021-05-17 00:27:01 +09:00
Andrew Childs
257cb1c8e8
print-reexports: rehome, tbd4 support, cross compilation
2021-05-17 00:27:01 +09:00
Andrew Childs
bd4a45f5d4
cctools: drop suspicious dependency
2021-05-17 00:27:00 +09:00
Andrew Childs
cbe172fa67
darwin.ICU: cross compilation
2021-05-17 00:27:00 +09:00
Andrew Childs
aa3361326b
darwin.adv_cmds: fix cross compilation
2021-05-17 00:27:00 +09:00
John Ericson
7bba32a069
darwin packages: Get ready for cross
...
If things build fine with `stdenvNoCC`, let them use that. If tools
might be prefixed, prepare for that, either by directly splicing or just
using the env vars provided by the wrapper setup-hooks.
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
2021-05-11 16:07:01 -04:00
John Ericson
a3e54cb582
Merge remote-tracking branch 'upstream/staging-next' into staging
2021-05-06 15:48:25 -04:00
John Ericson
470640e7fe
treewide: Do a number of no-op cleanups for cross and darwin
...
I am taking the non-invasive parts of #110914 to hopefully help out with #111988 .
In particular:
- Use `lib.makeScopeWithSplicing` to make the `darwin` package set have
a proper `callPackage`.
- Adjust Darwin `stdenv`'s overlays keeping things from the previous
stage to not stick around too much.
- Expose `binutilsNoLibc` / `darwin.binutilsNoLibc` to hopefully get us
closer to a unified LLVM and GCC bootstrap.
2021-05-06 11:17:26 -04:00
Andrew Childs
7869d16545
llvmPackages: Multuple outputs for everythting
...
Also begin to start work on cross compilation, though that will have to
be finished later.
The patches are based on the first version of
https://reviews.llvm.org/D99484 . It's very annoying to do the
back-porting but the review has uncovered nothing super major so I'm
fine sticking with what I've got.
Beyond making the outputs work, I also strove to re-sync the packages,
as they have been drifting pointlessly apart for some time.
----
Other misc notes, highly incomplete
- lvm-config-native and llvm-config are put in `dev` because they are
tools just for build time.
- Clang no longer has an lld dep. That was introduced in
db29857eb3
, but if clang needs help
finding lld when it is used we should just pass it flags / put in the
resource dir. Providing it at build time increases critical path
length for no good reason.
----
A note on `nativeCC`:
`stdenv` takes tools from the previous stage, so:
1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.stdenv.cc`: `(?0, ?1, x)`
while:
1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.targetPackages`: `(x, x, ?2)`
3. `pkgsBuildBuild.targetPackages.stdenv.cc`: `(?1, x, x)`
2021-04-30 05:41:00 +00:00
github-actions[bot]
f42b75df03
Merge staging-next into staging
2021-04-18 18:10:40 +00:00