Commit graph

157588 commits

Author SHA1 Message Date
Matthew Bauer c82bb3133c nix: use llvm6 on clang
nix-2.2.2 only works with libcxx 6. We should only set the stdenv to
clang when we are already using clang. Also, nixUnstable does support
libcxx 7.
2019-04-29 21:34:24 -04:00
Matthew Bauer 74c784a79c treewide: make -Wno-error flags clang-only
In 724e833ea2, I was a little too aggressive in enabling these flags.
Many don’t work in gcc, and we should probably avoid settings them
widely. This makes those flags optional on isclang
2019-04-29 21:34:24 -04:00
angristan 3c17ff8d08 nodejs-12_x: 12.0.0 -> 12.1.0 2019-04-29 18:18:01 +02:00
Daiderd Jordan a76e11a8c5 python: make it possible to disable the python setup-hook
Without this it's impossible to use a python binary that depends on a
different python version than what's used during the current build.
2019-04-28 09:20:41 +02:00
Dmitry Kalinkin 8fa36fc8a1 python: provide hasCxxDistutils attribute for pythonPackages.numpy
Patching numpy.distutils used to be required for pythonPackages.cython
to build on darwin. It was later accidentally disabled during one of the
refactorings, but that did not break cython. This change reinstantiates
the patch. It still applies, so it should be low maintenance and it can
still be useful.
2019-04-28 09:17:59 +02:00
R. RyanTM e1502a8be2 zabbix-cli: 1.7.0 -> 2.0.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/zabbix-cli/versions
2019-04-27 07:37:14 +02:00
Will Dietz 9d36a79ba6 lz4: 1.8.3 -> 1.9.1 (#59812)
* lz4: 1.8.3 -> 1.9.0

https://github.com/lz4/lz4/releases/tag/v1.9.0

* lz4: 1.9.0 -> 1.9.1

fixes read out-of-bounds issue w/1.9.0
2019-04-27 07:17:04 +02:00
Tor Hedin Brønner d747f1602d gobject-introspection: 1.60.0 -> 1.60.1
Updated the shlib patches:

- Upstream now forces basename in sanitize_shlib_path(lib) if the system isn't
  darwin. We patch the function to always prefer absolute paths
- Due to the above we no longer need the macos patch
- `sanitize_shlib_path` is applied after `resolve_from_ldd_output` so we need to
  apply `fallback_libpath` afterwards too (else we get stuff like
  `/nix/store/...@rpath/foo.dylib` on darwin)
- Note that the `fallback_path` no longer have any unit tests

https://gitlab.gnome.org/GNOME/gobject-introspection/blob/1.60.1/NEWS
2019-04-27 07:09:47 +02:00
Tor Hedin Brønner ee3729938d libsoup: 2.66.0 → 2.66.1
https://gitlab.gnome.org/GNOME/libsoup/blob/2.66.1/NEWS
2019-04-27 07:09:33 +02:00
Tor Hedin Brønner 54c2f9ac47 libcroco: 0.6.12 → 0.6.13
Patches are now upstream

https://gitlab.gnome.org/GNOME/libcroco/blob/0.6.13/NEWS
2019-04-27 07:09:33 +02:00
Tor Hedin Brønner 94153e96ee glib: 2.60.0 → 2.60.1
https://gitlab.gnome.org/GNOME/glib/blob/2.60.1/NEWS
2019-04-27 07:09:33 +02:00
c0bw3b 3ee1b52371 tcl/tk: 8.6.6 -> 8.6.9
Changelog for Tcl: https://github.com/tcltk/tcl/blob/core-8-6-9/changes#L8797
Changelog for Tk: https://github.com/tcltk/tk/blob/master/changes#L7417

Tk release is actually v8.6.9.1 while Tcl is v8.6.9
2019-04-27 07:09:05 +02:00
Will Dietz 959b199991 valgrind: 3.14.0 -> 3.15.0
https://sourceforge.net/p/valgrind/mailman/message/36642596/
2019-04-27 07:08:23 +02:00
Markus Kowalewski 6968c4f305 openblas: turn off AVX512 optimizations
The AVX512 optimization has a bug in openblas-0.3.5
and can also lead to slower code on Xeon Silver CPUs.

See https://github.com/xianyi/OpenBLAS/issues/1955
and https://github.com/xianyi/OpenBLAS/issues/2029
2019-04-27 07:07:49 +02:00
Will Dietz cf2f927010 libva: 2.4.0 -> 2.4.1 2019-04-27 07:04:12 +02:00
Will Dietz eeff4eda14 polkit: 0.115 -> 0.116
* now uses mozjs60
* drop CVE patches included in release

* pname-ify
* use flag arrays and placeholder
2019-04-27 07:02:36 +02:00
Frederik Rietdijk 042a01efbf Merge staging-next into staging 2019-04-27 07:02:02 +02:00
Frederik Rietdijk 883232c00d Merge master into staging-next 2019-04-27 07:01:38 +02:00
c0bw3b 6a2a4e82c9 gnupatch: add patch for CVE-2018-6952
Refs:
https://nvd.nist.gov/vuln/detail/CVE-2018-6952
https://savannah.gnu.org/bugs/index.php?53133
2019-04-27 07:00:29 +02:00
c0bw3b 84b810f8e3 libxslt: add patch for CVE-2019-11068
References:
https://nvd.nist.gov/vuln/detail/CVE-2019-11068
e03553605b
2019-04-27 07:00:29 +02:00
c0bw3b fba13b5253 sqlite: 3.27.2 -> 3.28.0
Changelog: https://www.sqlite.org/releaselog/3_28_0.html

Security: includes fixes for CVE-2019-9936 and CVE-2019-9937
2019-04-27 07:00:29 +02:00
Tor Hedin Brønner 1aff8dc407 gnome3.gnome-shell: needs python3 at build time
Was propagated by networkmanager before.
2019-04-27 05:24:47 +02:00
Matthew Bauer 23c520d95e cc-wrapper: only set -march when platform.gcc.arch is specified
We want to make sure this value is explicitly set. Infering it for
every arch leads to annoying failures like:

https://hydra.nixos.org/build/92583832/

Perhaps we can enable it in the future with some smarter handling of
cc-wrapper.sh.
2019-04-26 22:30:45 -04:00
volth d53042e83e perlPackages.HTTPDaemon: 6.04 -> 6.01
This undoes 6fb0e7a4e0
The only problem with 6.04 is: it got new dependencies which fail to cross-compile.
Failure to cross-compile HTTP::Deamon leads to failure of LWP and XML::Parser, which are used in switch-to-configuration.pl
Thus upgrade HTTPDaemon from 6.01 to 6.04 broke cross-compilation of whole system closures.

(cherry picked from commit fd1ac66836)
2019-04-26 22:24:52 -04:00
Matthew Bauer 91d6d582a3
Merge pull request #60238 from volth/undo-httpdaemon-604
perlPackages.HTTPDaemon: 6.04 -> 6.01
2019-04-26 22:21:19 -04:00
Matthew Bauer 87944c3125
Merge pull request #56744 from matthewbauer/macos-10-12
Update macOS to 10.12
2019-04-26 22:20:03 -04:00
Matthew Bauer c1f1a0ea15 qt5: use llvm5 for all modules
This avoids some issues encountered with qt5 not working libcxx 7. We
can remove this at some point when qt5 has addressed all of their issues.
2019-04-26 21:55:12 -04:00
Matthew Bauer 29cdd08e8e tokei: add libiconv for macos 2019-04-26 21:55:12 -04:00
Matthew Bauer 18e7c5a91e spectral: add qtmacextras 2019-04-26 21:55:11 -04:00
Matthew Bauer da38a49a24 treewide: mark bad packages
Some old stuff is known not to work.
2019-04-26 21:55:11 -04:00
Matthew Bauer 63831c398a python-fenics: put pytest in nativeBuildInputs 2019-04-26 21:55:10 -04:00
Matthew Bauer 698ff7855d xml2rfc: don’t run tests on darwin
https://hydra.nixos.org/build/92523991
2019-04-26 21:55:10 -04:00
Matthew Bauer 9eb4623ae3 file-rename: don’t run tests on darwin
https://hydra.nixos.org/build/92527786
2019-04-26 21:55:10 -04:00
Matthew Bauer db032fe1dc mosh: use llvm6 stdenv on clang stdenv 2019-04-26 21:55:09 -04:00
Matthew Bauer f1461d8c3d darwin-bootstrap: copy libLLVM dylib
This is needed for the bootstrap tools to work:

https://hydra.nixos.org/build/92534667
2019-04-26 21:55:09 -04:00
Matthew Bauer f0b7561275 rustc: use llvm5 for bootstrapping 2019-04-26 21:55:09 -04:00
Matthew Bauer f4d9adff9a libtins: fix test on darwin 2019-04-26 21:55:08 -04:00
Matthew Bauer f988cf4b86 tcpcrypt: darwin needs libpcap 2019-04-26 21:55:08 -04:00
Matthew Bauer 2522f58b0e e2fsprogs: check if e2scrub_all_cron exists
doesn’t exist on macos
2019-04-26 21:55:07 -04:00
Matthew Bauer eaf153b17e libcanberra3: use gdk x11 for macos 2019-04-26 21:55:07 -04:00
Matthew Bauer 6613a5fed0 treewide: use gcc stdenv in rig and cdb 2019-04-26 21:55:06 -04:00
Matthew Bauer d3fa660288 yquake: fix on darwin 2019-04-26 21:55:06 -04:00
Matthew Bauer 9c662b149c platinum-searcher: remove fixup for cycle
no longer necessary
2019-04-26 21:55:05 -04:00
Matthew Bauer b1de8cf480 treewide: disable tests on darwin
- tthsum
- python-papis
- python-sqlalchemy-migrate
- python-xlib
- dub
2019-04-26 21:55:05 -04:00
Matthew Bauer ecffd43b46 xcbuild: use llvm6-based xcbuild 2019-04-26 21:55:04 -04:00
Matthew Bauer 724e833ea2 treewide: disable -Werror for llvm 7
Some of these have errors on newest llvm. It’s easiest to just add
-Wno-error in these cases.
2019-04-26 21:55:04 -04:00
Matthew Bauer d1f988ca3c darwin: correct framework dependency
AudioUnit depends on AudioToolbox now, so use that to keep
compatibility.
2019-04-26 21:55:03 -04:00
Matthew Bauer d490dad864 treewide: use gcc when necessary
Some build scripts depend on gcc being available. We use gccStdenv in
this case.
2019-04-26 21:55:03 -04:00
Matthew Bauer c1cb58e81e darwin/make-bootstrap-tools: fix build 2019-04-26 21:55:02 -04:00
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