Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed
2021-01-25 18:31:47 +01:00
Ben Siraphob
16d91ee628
pkgs/os-specific: stdenv.lib -> lib
2021-01-17 23:26:08 +07:00
Monson Shao
b9be1501fe
darwin.libauto: mark broken and drop stdenv.lib
2021-01-14 01:21:59 +08:00
Monson Shao
5f6e6516e0
darwin.hfs: mark broken
2021-01-13 19:05:21 +08:00
Profpatsch
4a7f99d55d
treewide: with stdenv.lib; in meta -> with lib;
...
Part of: https://github.com/NixOS/nixpkgs/issues/108938
meta = with stdenv.lib;
is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.
This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.
The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
github-actions[bot]
581059aed4
Merge staging-next into staging
2021-01-04 00:57:38 +00:00
John Ericson
f52263ced0
treewide: Start to break up static overlay
...
We can use use `stdenv.hostPlatform.isStatic` instead, and move the
logic per package. The least opionated benefit of this is that it makes
it much easier to replace packages with modified ones, as there is no
longer any issue of overlay order.
CC @FRidh @matthewbauer
2021-01-03 19:18:16 +00:00
Andrew Childs
34c8fae439
darwin/stdenv: tapi stub based bootstrap
...
Fixes bootstrapping on macOS Big Sur.
2020-12-22 11:43:54 +09:00
Frederik Rietdijk
da6239dab3
Merge #98541 into staging-next
2020-11-14 09:19:31 +01:00
Daiderd Jordan
411f9e25d7
Merge pull request #98541 from thefloweringash/darwin-tapi-stdenv
...
darwin (Big Sur): tbd based stdenv
2020-11-13 00:14:25 +01:00
Andrew Childs
8e6d830423
darwin/objc4: use darwin-stubs
2020-11-12 00:23:09 +09:00
Andrew Childs
193c91233c
darwin/IOKit: use darwin-stubs
2020-11-12 00:23:09 +09:00
Andrew Childs
03988a5fec
darwin/Security: use darwin-stubs
2020-11-12 00:23:09 +09:00
Andrew Childs
b176ad9546
darwin/Libsystem: use darwin-stubs
2020-11-12 00:23:09 +09:00
Dmitry Kalinkin
f0efe2d16c
darwin.adv_cmds: fix build
...
Also disable pgrep that depends on pkill
2020-11-08 20:28:45 -05:00
Bas van Dijk
d5b0c8bcdf
libvirt: 6.3.0 -> 6.6.0
...
Also upgrades `python3Packages.libvirt`
and patches the `rpcgen` tool from Apple's `developer_cmds` package.
2020-09-29 00:18:24 +02:00
hlolli
78b34b5e5b
graalvm8: 19.1.1 -> 19.2.1
...
- - nixpkgs now with full darwin support
2020-01-18 16:43:03 +01:00
Daiderd Jordan
c7d457c9da
darwin.xnu: python2 -> python3
2020-01-13 11:13:01 +01:00
Robin Gloster
bb2a6f7396
treewide: structured attrs fixes
2019-12-31 00:51:41 +01:00
Merijn Broeren
133103d709
treewide: replace make/build/configure/patchFlags with nix lists
2019-12-30 12:58:11 +01:00
volth
8276314608
treewide: fix string escapes
2019-09-16 22:15:38 +00:00
volth
08f68313a4
treewide: remove redundant rec
2019-08-28 11:07:32 +00:00
Frederik Rietdijk
98640fd482
Merge master into staging-next
2019-08-27 16:36:47 +02:00
Robin Gloster
64f6a951eb
darwin.network_cmds: pin to openssl 1.0.2
2019-08-26 01:31:10 +02:00
Frederik Rietdijk
fe9a3e3e63
Merge staging-next into staging
2019-08-17 09:39:23 +02:00
volth
46420bbaa3
treewide: name -> pname (easy cases) ( #66585 )
...
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
2019-08-15 13:41:18 +01:00
Robert Winslow
e91d400dff
darwin.adv_cmds: Fix fetchzip call by using https not http ( #64546 )
2019-08-14 10:24:34 -04:00
volth
f3282c8d1e
treewide: remove unused variables ( #63177 )
...
* treewide: remove unused variables
* making ofborg happy
2019-06-16 19:59:05 +00:00
Matthew Bauer
9d2326c622
Libsystem: get os/{log,trace,activity}.h from darling
...
This is the only place I can find the headers.
2019-04-26 21:54:56 -04:00
Matthew Bauer
9da646ed29
darwin.xnu: install os/log.h file in Libsystem
2019-04-26 21:54:55 -04:00
Matthew Bauer
565f28fba7
Libsystem: add os/availability.h
2019-04-26 21:54:53 -04:00
Matthew Bauer
d69cc779b5
Revert "Revert "darwin 10.12 commits""
...
This reverts commit 8505e710e7
.
2019-04-20 23:17:04 -04:00
Michael Raskin
a059fc7420
Merge pull request #56067 from oxij/tree/fetchurl-boot
...
treewide: assemble all `fetchurlBoot` uses in overrides to `fetchurl`
2019-02-21 09:43:11 +00:00
Vladimír Čunát
32767d139f
Merge branch 'staging-next'
...
This round is without the systemd CVE,
as we don't have binaries for that yet.
BTW, I just ignore darwin binaries these days,
as I'd have to wait for weeks for them.
2019-02-20 09:38:45 +01:00
Jan Malakhovski
a1fec8667d
treewide: assemble all fetchurlBoot
uses in overrides to fetchurl
itself
...
The only outside-curl uses of `fetchurlBoot` left are `stdenv`
and `apple-source-releases`. The latter one can probably be removed
too, but I can't test it.
Pros:
- Aggregates all behind-the-scenes insanity in a single place.
Cons:
- At the cost of 10 more derivations (but 0 new outpaths).
2019-02-19 20:55:59 +00:00
Daiderd Jordan
b4ea47749a
darwin: remove references to Ubiquity.framework
...
It was removed on recent versions of macOS and these entries break
sandboxing if they don't exist.
Aborted: while setting up the build environment: getting attributes of path '/System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity': No such file or directory
2019-02-17 15:30:30 +01:00
Daiderd Jordan
97c05bda52
darwin.architecture: fix sandbox build
...
Re-applies bad2db31b7
.
This reverts commit f84aef11a4
.
2019-02-17 10:11:25 +01:00
Daiderd Jordan
f84aef11a4
Revert "darwin.architecture: fix sandbox build"
...
Moving changes to staging, this is a mass-rebuild.
This reverts commit e79278e4cd
.
2019-02-17 10:03:26 +01:00
Daiderd Jordan
e79278e4cd
darwin.architecture: fix sandbox build
2019-02-14 21:36:04 +01:00
Dmitry Kalinkin
1a7e65e146
adv_cmds: switch url to use https
...
warning: unable to download 'http://opensource.apple.com/tarballs/adv_cmds/adv_cmds-158.tar.gz ': HTTP error 302 (curl error: Couldn't connect to server); retrying in 298 ms
2019-01-09 21:46:58 -05:00
Jorge Acereda
7dafdc1400
darwin: basic_cmds was installing binaries in the wrong path
2019-01-08 22:43:45 +01:00
Matthew Bauer
ed6148726b
darwin: fix more *_cmds derivation
...
Doh
2019-01-06 22:34:19 -06:00
Matthew Bauer
2bbec30c2e
darwin.diskdev_cmds: fix build with dsymutil
...
xcbuild doesn’t handle dsymutil correctly. fuser.pl does not contain
debug symbols, but xcbuild doesn’t handle this like xcodebuild does.
So, just disable the debug information. We probably should do this in
more places using xcbuild, but it requires some arbitrary patching.
2019-01-06 22:13:11 -06:00
Matthew Bauer
030f66400d
darwin.adv_cmds: fix build
2019-01-04 10:28:22 -06:00
Matthew Bauer
8cb2d35760
darwin: fix typos in install scripts
...
fixes some issues in my commits in:
- basic_cmds
- network_cmds
(cherry picked from commit f283145308
)
2019-01-03 15:20:26 -06:00
Matthew Bauer
8505e710e7
Revert "darwin 10.12 commits"
...
Reverts commits bumping to macOS stuff to 10.12:
commit ec1f78d1cb
.
commit d0dc91d24f
.
commit a1d297374d
.
commit 425112151d
.
commit e6f7f2928f
.
2019-01-03 15:20:26 -06:00
Matthew Bauer
ec1f78d1cb
darwin.libunwind: fix hash
2018-12-30 00:00:30 -06:00
Matthew Bauer
4f522648cb
darwin: fix *_cmds installation
...
These just copy commands from Products/Release/. But with #52256 we
now build .dsym directories that somehow wind up in Products/Release/.
This makes things more exact by just copying the files in Products/Release/.
2018-12-29 23:58:10 -06:00
Matthew Bauer
a1d297374d
darwin.hfs: put headers in hfs/ directory
...
This is where they are supposed to go. My mistake in the original
commit.
2018-12-27 11:18:28 -06:00
Matthew Bauer
425112151d
darwin: remove missing symbols
...
these symbols are not needed apparently
2018-12-19 23:46:06 -06:00