Commit graph

176856 commits

Author SHA1 Message Date
Matthew Bauer 3bab20c88d treewide: disable checks on darwin
Not working in these cases:

- dconf
- paho-mqtt
- perl-gtk2
- perl-TAPParserSourceHandlerpgTAP
2019-04-26 21:55:02 -04:00
Matthew Bauer c72c6a48ca treewide: use llvm6 in some places
Not everything works on llvm7. It’s easiest to just provide the llvm6
as backup in this case.
2019-04-26 21:55:01 -04:00
Matthew Bauer ffeffb3851 python-zope_testrunner: don’t run tests on darwin
broken currently:

https://hydra.nixos.org/build/92527992
2019-04-26 21:55:01 -04:00
Matthew Bauer 0695b7da24 ldc: don’t run checks on darwin
failing currently:

https://hydra.nixos.org/build/92532427
2019-04-26 21:55:01 -04:00
Matthew Bauer 66a3a7b303 tk: propagate macos dependencies 2019-04-26 21:55:00 -04:00
Matthew Bauer 3e4f14a50b perl: disable test on TAPParserSourceHandlerpgTAP
Seem to be broken with newest llvm
2019-04-26 21:55:00 -04:00
Matthew Bauer e95ec0da29 libao: fix on 10.12 sdk 2019-04-26 21:54:59 -04:00
Matthew Bauer 31060e23ba go: disable tests on darwin
Unfortunately, i can’t get these to work:

https://hydra.nixos.org/build/92530029/nixlog/1/tail

Hopefully we can fix them at some point.

/cc @cstrahan @orivej @mic92
2019-04-26 21:54:59 -04:00
Matthew Bauer ba957d538d emacs-mac: remove MAC_OS_X_VERSION_MAX_ALLOWED
No longer needed
2019-04-26 21:54:58 -04:00
Matthew Bauer c08fe0f8b1 llvm8: remove compiler-rt gettime patch
This was removed in llvm 7 but not for llvm 8.
2019-04-26 21:54:58 -04:00
Matthew Bauer 1b5021771b go1.12: remove dsymutil patch
stdenv provides dsymutil for us. Already done for other compilers but
not this one.
2019-04-26 21:54:58 -04:00
Matthew Bauer 32acda1b4d libcdio: disable checks on darwin
Broken on macos 10.12 stuff
2019-04-26 21:54:57 -04:00
Matthew Bauer 2a59d24387 pycrypto: remove pre-10.12 patch 2019-04-26 21:54:57 -04:00
Dmitry Kalinkin a2e8e6ffc9 boost167: patch for macOS 10.12 2019-04-26 21:54:57 -04:00
Matthew Bauer 43cda1b854 apple-sdk: add Metal framework for QuartzCore 2019-04-26 21:54:56 -04: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 4faa8d0238 cctools: add patch for apfs 2019-04-26 21:54:55 -04:00
Matthew Bauer 9da646ed29 darwin.xnu: install os/log.h file in Libsystem 2019-04-26 21:54:55 -04:00
Matthew Bauer 85cc94c40e guile_2_0: add patches for macos 10.12 2019-04-26 21:54:54 -04:00
Matthew Bauer 0e9da4c958 libproxy: add libc++ patch 2019-04-26 21:54:54 -04:00
Matthew Bauer e3a9b1ea23 apple-sdk: Foundation needs cf-private 2019-04-26 21:54:54 -04:00
Matthew Bauer fffc777be4 cffi: don’t run tests on darwin
they fail with llvm 7 for some reason
2019-04-26 21:54:53 -04:00
Matthew Bauer 4903e825fa apple-sdk: update frameworks location
Some have been removed like:

- DrawSprocket
- DVComponentGlue
2019-04-26 21:54:53 -04:00
Matthew Bauer 565f28fba7 Libsystem: add os/availability.h 2019-04-26 21:54:53 -04:00
Matthew Bauer 27498cd2d1 gnutar: disable CFLocaleCopyPreferredLanguages
These pull in the system CoreFoundation framework for some reason. In
the future, we should figure out a way for it to get these features
from the pure CoreFoundation (they do have the symbol). But right now
this is an issue with sandboxing in gnutar. Fixes #56591.
2019-04-26 21:54:52 -04:00
Matthew Bauer 8e64f4665a opensp: fix on darwin/10.12 2019-04-26 21:54:52 -04:00
Matthew Bauer dc483505d4 cf-private: don’t use private sdk
no private sdk is available for 10.12.
2019-04-26 21:54:51 -04:00
Matthew Bauer 5428db7c7c guile: apply patch for macOS 10.12+ 2019-04-26 21:54:51 -04:00
Matthew Bauer 8cabf4d5c5 treewide: rename llvm-dsymutil to dsymutil
This is a change introduced between llvm 5 and llvm 7.
2019-04-26 21:54:50 -04:00
Matthew Bauer 2b0b63c229 stdenv/darwin: use libxml2-nopython for building llvm 2019-04-26 21:54:50 -04:00
Matthew Bauer eaadbdf1c3 cmake: don’t use cf-private
cf-private is not necessary here. cmake just needs the CoreFoundation
framework to be used. swift-corefoundation seems to work fine in this case.

/cc @lnl7
2019-04-26 21:54:49 -04:00
Matthew Bauer 037f62bbad stdenv/darwin: put bash in extraBuildInputs
patch-shebangs should pick these up as they are runtime dependencies.
This avoids bootstrap-tools leaking into the outputs.
2019-04-26 21:54:49 -04:00
Matthew Bauer ec7d72a57d setup.sh: make sure initialPath goes at end of HOST_PATH
We want initialPath to have lowest precedence.

In addition, unset _PATH and _HOST_PATH as they shouldn’t be needed
after final PATH and HOST_PATH are set.
2019-04-26 21:54:49 -04:00
Matthew Bauer a1533dfc41 patch-shebangs: fix dev detection
$output = $outputDev is the right condition. ${!outputDev} is only
useful if you want a path.
2019-04-26 21:54:48 -04:00
Matthew Bauer 61bc03c017 Revert "Revert "patch-shebangs: respect cross compilation""
This reverts commit 9c4b11e9a0.
2019-04-26 21:54:48 -04:00
Matthew Bauer 2ecc1d1599 stdenv/darwin: move secure-format patch to gnum4
This is the only derivation that needs it anymore.
2019-04-26 21:54:47 -04:00
Matthew Bauer 7f08b28bbf Revert "Revert "cctools: bump to latest commit""
This reverts commit 0e78f2bd10.
2019-04-26 21:54:47 -04:00
Matthew Bauer 36450d8d0b cctools: enable tapi everywhere
Gets us closer to #19906.
2019-04-26 21:54:46 -04:00
Matthew Bauer f76c7b8fab libtapi: init
(cherry picked from commit 69347697d3336d4b6add8276d9f75daf6f0cacf3)
2019-04-26 21:54:46 -04:00
Matthew Bauer 0fe315c9b6 treewide: remove old patches for macOS
These shouldn’t be needed now that we are on macOS 10.12.
2019-04-26 21:54:32 -04:00
Matthew Bauer 5fad67d361 utils.bash: allow response files in bootstrapping
llvm uses response files in bootstrapping. It’s okay for them to
happen even though we don’t use expandResponseParams here right now.
2019-04-20 23:17:04 -04:00
Matthew Bauer ae1e940cc0 darwin: move to llvm7 2019-04-20 23:17:04 -04:00
Matthew Bauer d69cc779b5 Revert "Revert "darwin 10.12 commits""
This reverts commit 8505e710e7.
2019-04-20 23:17:04 -04:00
Will Dietz 4c3c8f4a7d all-packages: keep llvm7 overrides for now, not default on Darwin yet 2019-04-20 23:17:04 -04:00
Will Dietz 564bf8da2b all-packages.nix: remove llvm7 overrides, this is now the default 2019-04-20 23:16:37 -04:00
Will Dietz dd649a09c3 llvmPackages: keep darwin at llvm5
My previous attempts to bump the Darwin stdenv version didn't
seem to work, but AFAIK doing so should be straightforward
for anyone with a Darwin builder and the interest in tackling this.

While not the preferred solution, adding a conditional lets us move on,
as we missed 6 entirely due to no one getting around to resolving the
Darwin bootstrap accordingly.
2019-04-20 23:15:39 -04:00
Will Dietz d4ff2313e6 llvmPackages: 5 -> 7 (bump our default LLVM) 2019-04-20 23:15:38 -04:00
Matthew Bauer ae50241871 release-cross: remove alpha-elf target
This doesn’t appear to ever have worked. binutils doesn’t seem to
support the alpha-elf target at all. It doesn’t make sense to keep
this around.

https://hydra.nixos.org/build/92403855/nixlog/1/tail
2019-04-20 17:22:52 -04:00
Matthew Bauer c351eb2842
Merge pull request #59897 from matthewbauer/mb-cross-fixes2
Miscellaneous cross compilation fixes
2019-04-20 16:52:26 -04:00
Matthew Bauer 4224b034cc systemd: use lib.getBin for utillinux
it’s almost always a better idea to use getBin instead of .bin.
Otherwise, we could get an evaluation error if utillinux is missing
the bin otuput.
2019-04-20 16:39:12 -04:00